@lang('catalogs/cfdi_relation.document_title')
@include('flash::message')
@lang('general.text_add')
{!! Form::open(['route' => 'cfdi-relations.store','method' => 'POST','class' => 'form-horizontal','role' => 'form','id'=>'form']) !!}
{!! Form::close() !!}
{!! html_entity_decode(Form::label('name', __('catalogs/cfdi_relation.entry_name') . ' *', ['class' => 'col-md-3 col-xs-12 control-label'])) !!}
{!! Form::text('name', old('name'), ['class' => 'form-control', 'placeholder' => __('catalogs/cfdi_relation.entry_name'),'required','autofocus']) !!}
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
{!! html_entity_decode(Form::label('code', __('catalogs/cfdi_relation.entry_code') . ' *', ['class' => 'col-md-3 col-xs-12 control-label'])) !!}
{!! Form::text('code', old('code'), ['class' => 'form-control', 'placeholder' => __('catalogs/cfdi_relation.entry_code'),'required']) !!}
@if ($errors->has('code'))
{{ $errors->first('code') }}
@endif
{!! Form::label('sort_order', __('catalogs/cfdi_relation.entry_sort_order'), ['class' => 'col-md-3 col-xs-12 control-label']) !!}
{!! Form::number('sort_order', old('sort_order'), ['class' => 'form-control', 'placeholder' => __('catalogs/cfdi_relation.entry_sort_order')]) !!}