FEATURE: split controllers/admin into more smaller directories
This commit is contained in:
@@ -5,14 +5,15 @@
|
||||
@lang('admin/widgetAreas.name')
|
||||
</label>
|
||||
|
||||
<input type="text" class="form-control" name="name" value="{{$area->name}}"
|
||||
<input type="text" class="form-control" name="name" value="{{old('name', $area->name)}}"
|
||||
placeholder="@lang('admin/widgetAreas.name')" />
|
||||
|
||||
<label class="control-label">
|
||||
@lang('admin/widgetAreas.code')
|
||||
</label>
|
||||
|
||||
<input type="text" class="form-control" name="code" @if($area->code) disabled @endif value="{{$area->code}}"
|
||||
<input type="text" class="form-control" name="code" @if($area->code) disabled
|
||||
@endif value="{{old('code', $area->code)}}"
|
||||
placeholder="@lang('admin/widgetAreas.code')" />
|
||||
|
||||
<label class="control-label">
|
||||
@@ -20,7 +21,7 @@
|
||||
</label>
|
||||
|
||||
<textarea rows="3" class="form-control" name="description"
|
||||
placeholder="@lang('admin/widgetAreas.description')">{{$area->description}}</textarea>
|
||||
placeholder="@lang('admin/widgetAreas.description')">{{old('description', $area->description)}}</textarea>
|
||||
|
||||
<button type="submit" class="btn btn-primary">@lang('admin/widgetAreas.save')</button>
|
||||
</form>
|
||||
Reference in New Issue
Block a user