FEATURE: move selectbox for type of custom field
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
{!! csrf_field() !!}
|
||||
|
||||
<div class="row">
|
||||
<div class="large-6 columns">
|
||||
<div class="large-12 columns">
|
||||
<label>
|
||||
@lang('admin/customFields.name')
|
||||
<input type="text" placeholder="@lang('admin/customFields.name')" value="{{old('name')}}" name="name">
|
||||
@@ -14,23 +14,6 @@
|
||||
@endif
|
||||
</label>
|
||||
</div>
|
||||
<div class="large-6 columns">
|
||||
<label>
|
||||
@lang('admin/customFields.type')
|
||||
|
||||
<select name="type">
|
||||
@foreach($types as $type => $translation)
|
||||
<option value="{{$type}}"@if(old('type') == $type) selected @endif>@lang($translation)</option>
|
||||
@endforeach
|
||||
</select>
|
||||
|
||||
@if (isset($errors) && $errors->has('type'))
|
||||
<div class="callout alert">
|
||||
{{ $errors->first('type') }}
|
||||
</div>
|
||||
@endif
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="large-6 columns">
|
||||
@@ -43,6 +26,22 @@
|
||||
|
||||
<div class="large-6 columns">
|
||||
|
||||
<label>
|
||||
@lang('admin/customFields.type')
|
||||
|
||||
<select name="type">
|
||||
@foreach($types as $type => $translation)
|
||||
<option value="{{$type}}"@if(old('type') == $type) selected @endif>@lang($translation)</option>
|
||||
@endforeach
|
||||
</select>
|
||||
|
||||
@if (isset($errors) && $errors->has('type'))
|
||||
<div class="callout alert">
|
||||
{{ $errors->first('type') }}
|
||||
</div>
|
||||
@endif
|
||||
</label>
|
||||
|
||||
<label>
|
||||
@lang('admin/customFields.resource')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user