@extends('layouts.master') @section('title') {{ trans_choice('general.edit',1) }} {{ trans_choice('general.user',1) }} @endsection @section('content')

{{ trans_choice('general.edit',1) }} {{ trans_choice('general.user',1) }}

{!! Form::open(array('url' => 'user/'.$user->id.'/profile','class'=>'form-horizontal form-bordered form-label-stripped',"enctype" => "multipart/form-data")) !!}
{!! Form::label(trans('general.first_name'),null,array('class'=>'control-label')) !!} {!! Form::text('first_name',$user->first_name,array('class'=>'form-control','required'=>'required')) !!}
{!! Form::label(trans('general.last_name'),null,array('class'=>'control-label')) !!} {!! Form::text('last_name',$user->last_name,array('class'=>'form-control','required'=>'required')) !!}
{!! Form::label(trans('general.gender'),null,array('class'=>' control-label')) !!} {!! Form::select('gender', array('Male' =>trans('general.male'), 'Female' => trans('general.female')),$user->gender,array('class'=>'form-control')) !!}
{!! Form::label(trans('general.phone'),null,array('class'=>'control-label')) !!} {!! Form::text('phone',$user->phone,array('class'=>'form-control')) !!}
{!! Form::label(trans_choice('general.email',1),null,array('class'=>'control-label')) !!} {!! Form::email('email',$user->email,array('class'=>'form-control','required'=>'required')) !!}
{!! Form::label(trans('general.password'),null,array('class'=>'control-label')) !!} {!! Form::password('password',array('class'=>'form-control')) !!}
{!! Form::label(trans('general.repeat_password'),null,array('class'=>'control-label')) !!} {!! Form::password('rpassword',array('class'=>'form-control')) !!}
{!! Form::label(trans('general.address'),null,array('class'=>'control-label')) !!} {!! Form::textarea('address',$user->address,array('class'=>'form-control wysihtml5')) !!}
{!! Form::label(trans_choice('general.note',2),null,array('class'=>'control-label')) !!} {!! Form::textarea('notes',$user->notes,array('class'=>'form-control wysihtml5')) !!}
{!! Form::close() !!}
@endsection @section('footer-scripts') @endsection