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