@if($model->fieldset) @foreach($model->fieldset->fields AS $field)
@if ($field->element!='text') @if ($field->element=='listbox') {{ Form::select($field->db_column_name(), $field->formatFieldValuesAsArray(), Input::old($field->db_column_name(), $asset->{$field->db_column_name()}), ['class'=>'format select2 form-control']) }} @elseif ($field->element=='checkbox') @foreach ($field->formatFieldValuesAsArray() as $key => $value)
@endforeach @endif @else @can('admin') @else @endcan @endif first($field->db_column_name()); if ($errormessage) { $errormessage=preg_replace('/ snipeit /', '', $errormessage); print(' '.$errormessage.''); } ?>
@if ($field->field_encrypted)
@endif
@endforeach @endif