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