@extends('layouts.main') @section('content')
{{trans('app.profile.update')}}
{!! Form::model($user, ['route' => ['profile.store'], 'class' => 'form-horizontal']) !!}
{!! Form::label('first_name', trans('app.pim.employees.first_name').':', ['class' => 'col-sm-3']) !!}
{!! Form::text('first_name', null, ['class' => 'form-control']) !!}
{!! Form::label('last_name', trans('app.pim.employees.last_name').':', ['class' => 'col-sm-3']) !!}
{!! Form::text('last_name', null, ['class' => 'form-control']) !!}
{!! Form::label('email', trans('app.pim.employees.email').':', ['class' => 'col-sm-3']) !!}
{!! Form::input('email', 'email', null, ['class' => 'form-control']) !!}
{!! Form::label('gender', trans('app.pim.employees.gender').':', ['class' => 'col-sm-3']) !!}
{!! Form::label('male', trans('app.pim.employees.gender_male')) !!} {!! Form::radio('gender', 'm', @$employee->gender == 'm', ['id' => 'male']) !!} {!! Form::label('female', trans('app.pim.employees.gender_female')) !!} {!! Form::radio('gender', 'f', @$employee->gender == 'f', ['id' => 'female']) !!}
{!! Form::label('birth_date', trans('app.pim.employees.birth_date').':', ['class' => 'col-sm-3']) !!}
{!! Form::input('date', 'birth_date', null, ['class' => 'form-control']) !!}
@include('errors._form-errors')
{!! Form::submit(trans('app.submit'), ['class' => 'btn btn-primary']) !!}
{!! Form::close() !!}
@endsection