{!! Form::open(['route' => 'auth.register','role' => 'form', 'class'=>'employee-form','id' => 'employee-form','data-form-table' => 'employee_table']) !!}
{!! Form::label('first_name',trans('messages.first_name'),['class' => 'control-label'])!!}
{!! Form::input('text','first_name','',['class'=>'form-control','placeholder'=>trans('messages.first_name')])!!}
{!! Form::label('last_name',trans('messages.last_name'),['class' => 'control-label'])!!}
{!! Form::input('text','last_name','',['class'=>'form-control','placeholder'=>trans('messages.last_name')])!!}
{!! Form::label('employee_code',trans('messages.employee_code'),['class' => 'control-label'])!!}
{!! Form::input('text','employee_code','',['class'=>'form-control','placeholder'=>trans('messages.employee_code')])!!}
{!! Form::label('role_id',trans('messages.role'),['class' => 'control-label'])!!}
{!! Form::select('role_id', [''=>''] + $roles,'',['class'=>'form-control input-xlarge select2me','placeholder'=>trans('messages.select_one')])!!}
{!! Form::label('franchise_id',trans('organisation'),['class' => 'control-label'])!!}
{!! Form::select('text','franchise_id',[null => 'Select Franchise']+$franchise_list,['class'=>'form-control','placeholder'=>trans('organisation')])!!}
{!! Form::label('username',trans('messages.username'),['class' => 'control-label'])!!}
{!! Form::input('text','username','',['class'=>'form-control','placeholder'=>trans('messages.username')])!!}
{!! Form::label('email',trans('messages.email'),['class' => 'control-label'])!!}
{!! Form::input('text','email','',['class'=>'form-control','placeholder'=>trans('messages.email')])!!}
{!! Form::label('password',trans('messages.password'),['class' => 'control-label'])!!}
{!! Form::input('password','password','',['class'=>'form-control','placeholder'=>trans('messages.password')])!!}
{!! Form::label('password_confirmation',trans('messages.confirm_password'),['class' => 'control-label'])!!}
{!! Form::input('password','password_confirmation','',['class'=>'form-control','placeholder'=>trans('messages.confirm_password')])!!}
{{--
--}}
{!! Form::submit(isset($buttonText) ? $buttonText : trans('messages.save'),['class' => 'btn btn-primary pull-right']) !!}
{!! Form::close() !!}