FEATURE: split controllers/admin into more smaller directories

This commit is contained in:
Michal Kváček
2016-09-22 23:35:53 +02:00
parent 0357417163
commit 139373145a
41 changed files with 374 additions and 412 deletions
@@ -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>