FEATURE: include commont parts of widget forms
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
{!! csrf_field() !!}
|
||||
<label class="label-control">
|
||||
@lang('widgets/common.name')
|
||||
</label>
|
||||
<input class="form-control" type="text" name="name" value="{{old('name', $widget->name)}}"
|
||||
placeholder="@lang('widgets/common.name')" />
|
||||
|
||||
|
||||
<label class="label-control">
|
||||
@lang('widgets/common.description')
|
||||
</label>
|
||||
<input class="form-control" type="text" name="description" placeholder="@lang('widgets/common.description')"
|
||||
value="{{old('description', $widget->description)}}" />
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6"><label class="label-control">
|
||||
@lang('widgets/common.containerClass')
|
||||
</label>
|
||||
|
||||
<input class="form-control" type="text" name="containerClass" placeholder="@lang('widgets/common.containerClass')"
|
||||
value="{{old('containerClass', $widget->container_class)}}" />
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="label-control">
|
||||
@lang('widgets/common.containerId')
|
||||
</label>
|
||||
|
||||
<input class="form-control" type="text" name="containerId" placeholder="@lang('widgets/common.containerId')"
|
||||
value="{{old('containerId', $widget->container_id)}}" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user