FEATURE: finish template for new custom field
This commit is contained in:
@@ -23,6 +23,12 @@
|
|||||||
<option value="{{$type}}">@lang($translation)</option>
|
<option value="{{$type}}">@lang($translation)</option>
|
||||||
@endforeach
|
@endforeach
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
@if (isset($errors) && $errors->has('type'))
|
||||||
|
<div class="callout alert">
|
||||||
|
{{ $errors->first('type') }}
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -45,7 +51,7 @@
|
|||||||
<label>
|
<label>
|
||||||
@lang('admin/customFields.defaultValue')
|
@lang('admin/customFields.defaultValue')
|
||||||
|
|
||||||
<input type="text" placeholder=" @lang('admin/customFields.defaultValue')" defaultValue">
|
<input type="text" placeholder="@lang('admin/customFields.defaultValue')" name="defaultValue">
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<label>
|
<label>
|
||||||
@@ -61,14 +67,26 @@
|
|||||||
<label>
|
<label>
|
||||||
@lang('admin/customFields.minLength')
|
@lang('admin/customFields.minLength')
|
||||||
|
|
||||||
<input type="text" placeholder="@lang('admin/customFields.minLength')"name="minLength">
|
<input type="text" placeholder="@lang('admin/customFields.minLength')" name="minLength">
|
||||||
|
|
||||||
|
@if (isset($errors) && $errors->has('minLength'))
|
||||||
|
<div class="callout alert">
|
||||||
|
{{ $errors->first('minLength') }}
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="large-6 columns">
|
<div class="large-6 columns">
|
||||||
<label>
|
<label>
|
||||||
@lang('admin/customFields.maxLength')
|
@lang('admin/customFields.maxLength')
|
||||||
|
|
||||||
<input type="text" placeholder="@lang('admin/customFields.maxLength')"name="maxLength">
|
<input type="text" placeholder="@lang('admin/customFields.maxLength')" name="maxLength">
|
||||||
|
|
||||||
|
@if (isset($errors) && $errors->has('maxLength'))
|
||||||
|
<div class="callout alert">
|
||||||
|
{{ $errors->first('maxLength') }}
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user