<?php Fun::lang() ?>
<div class="form-group col-sm-12 col-xs-12">
    <div class="col-sm-3 col-xs-12 ">
        <label class="required">{{__('administrator.name')}} </label>
    </div>
    <div class="col-sm-9">
        {!! Form::text('unit', null, ['placeholder'=>__('administrator.name'),'class' => 'form-control','autofocus']) !!}
    </div>
</div>
@if(request('type'))
    {!! Form::hidden('type', request('type')) !!}
@else
    <div class="form-group col-sm-12 col-xs-12">
        <div class="col-sm-3 col-xs-12 ">
            <label class="required">{{__('administrator.type')}} </label>
        </div>
        <div class="col-sm-9">
            {!! Form::select('type',getItemType() , null , ['class' => 'form-control select2','placeholder' =>__('administrator.please_select')]) !!}
        </div>
    </div>
@endif
<div class="form-group col-sm-12 col-xs-12">
    <div class="col-sm-3 col-xs-12 ">
        <label>{{__('administrator.note')}} </label>
    </div>
    <div class="col-sm-9">
        {!! Form::textarea('note', null, array('placeholder' => __('administrator.note'),'class' => 'form-control')) !!}
    </div>
</div>
{!! Form::hidden('input_name', request('input_name')) !!}
{!! Form::submit('Submit', ['class' => 'hidden']) !!}
