FEATURE: include commont parts of widget forms
This commit is contained in:
@@ -1,25 +1,5 @@
|
||||
<form action="{{$action}}" method="POST">
|
||||
{!! csrf_field() !!}
|
||||
<label class="label-control">
|
||||
@lang('widgets/htmlCode.name')
|
||||
</label>
|
||||
<input class="form-control" type="text" name="name" value="{{old('name', $widget->name)}}"
|
||||
placeholder="@lang('widgets/htmlCode.name')" />
|
||||
|
||||
|
||||
<label class="label-control">
|
||||
@lang('widgets/htmlCode.description')
|
||||
</label>
|
||||
<input class="form-control" type="text" name="description" placeholder="@lang('widgets/htmlCode.description')"
|
||||
value="{{old('description', $widget->description)}}" />
|
||||
|
||||
|
||||
<label class="label-control">
|
||||
@lang('widgets/htmlCode.containerClass')
|
||||
</label>
|
||||
|
||||
<input class="form-control" type="text" name="containerClass" placeholder="@lang('widgets/htmlCode.containerClass')"
|
||||
value="{{old('containerClass', isset($settings->containerClass) ? $settings->containerClass : '')}}" />
|
||||
@include('admin.widgets.snippets.commonForm')
|
||||
|
||||
<label class="label-control">
|
||||
@lang('widgets/htmlCode.code')
|
||||
|
||||
Reference in New Issue
Block a user