@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('admin/custom_fields/general.custom_fields') }} @parent @stop @section('header_right') {{ trans('general.back') }} @stop @section('content')
@endcan | {{ trans('admin/custom_fields/general.order') }} | {{ trans('admin/custom_fields/general.field_name') }} | {{ trans('admin/custom_fields/general.field_format') }} | {{ trans('admin/custom_fields/general.field_element') }} | {{ trans('admin/custom_fields/general.encrypted') }} | {{ trans('admin/custom_fields/general.required') }} | |
---|---|---|---|---|---|---|---|
@endcan | {{$field->pivot->order}} | {{$field->name}} | {{$field->format}} | {{$field->element}} | {{ $field->field_encrypted=='1' ? trans('general.yes') : trans('general.no') }} | {{$field->pivot->required ? "REQUIRED" : "OPTIONAL"}} | @can('update', $custom_fieldset) Remove @endcan |
@can('update', $custom_fieldset) {{ Form::open(['route' => ["fieldsets.associate",$custom_fieldset->id], 'class'=>'form-horizontal', 'id' => 'ordering']) }} {{ Form::checkbox("required","on") }} {{ trans('admin/custom_fields/general.required') }} {{ Form::text("order",$maxid)}} {{ Form::select("field_id",$custom_fields_list,"",["onchange" => "$('#ordering').submit()"]) }} = $errors->first('field_id'); ?> {{ Form::close() }} @endcan |