@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('admin/custom_fields/general.custom_fields') }} @parent @stop @section('content')

{{ $custom_fieldset->name }} {{ trans('admin/custom_fields/general.fieldset') }}

@foreach($custom_fieldset->fields as $field) @endforeach
{{ 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.required') }}
{{ Form::open(['route' => ["admin.custom_fields.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()"]) }} first('field_id'); ?>
{{$field->pivot->order}} {{$field->name}} {{$field->format}} {{$field->element}} {{$field->pivot->required ? "REQUIRED" : "OPTIONAL"}}
@section('moar_scripts') @stop @stop