@extends('backend/layouts/default')
@section('content')
{{--
['url' => '/admin/custom_fields/create-field']
--}}
{{ Form::open(["route" => 'admin.custom_fields.store-field'] )}}
Name: {{ Form::text("name")}}= $errors->first('name'); ?>
type: {{ Form::select("element",["text" => "Text Box"])}}= $errors->first('element'); ?>
format: {{ Form::select("format",predefined_formats(),"ANY") }}= $errors->first('format'); ?>
Custom Format (if selected): {{ Form::text("custom_format") }}
{{ Form::close() }}
{{ link_to_route('admin.custom_fields.index',"Back to Custom Fieldset List") }}
@stop