FEATURE #2042: refactorize widgets
This commit is contained in:
@@ -2,11 +2,16 @@
|
||||
|
||||
@section('pageHeading', @trans('widgets/menu.edit', ['name' => $widget->name]))
|
||||
|
||||
@section('headerButtons')
|
||||
<a href="{{route('widgets.overview')}}" class="btn btn-secondary btn-sm rounded" title="@lang('admin/widgets.overview')">
|
||||
<i class="fa fa-list"></i>
|
||||
</a>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="row">
|
||||
<div class="col-lg-8">
|
||||
@include('admin.widgets.menu.form', ['formAction' => route('widgets.postEdit', ['id' => $widget->id])])
|
||||
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
<h3>@lang('widgets/menu.preview')</h3>
|
||||
@@ -14,5 +19,5 @@
|
||||
@widgetPreview($widget)
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
@endsection
|
||||
|
||||
|
||||
Reference in New Issue
Block a user