FIX: make possible values work as intended

Newlines in possible values in custom fields are now replaced by pipe (|). This commit also fixes typo caused by copy-paste (resource was sent as type).
This commit is contained in:
Michal Kváček
2016-01-26 23:26:48 +01:00
parent 89d08f52af
commit 811e0ba5b2
2 changed files with 5 additions and 5 deletions
@@ -46,7 +46,7 @@
<label>
@lang('admin/customFields.resource')
<select name="type">
<select name="resource">
@foreach($resources as $resource => $translation)
<option value="{{$resource}}"@if(old('resource') == $resource) selected @endif>@lang($translation)</option>
@endforeach