@extends('client.auth') @section('title') {{ translate('register') }} @endsection @section('content')
@if(Session::has('flash_notification.message')) @endif @if (isset($msg))
{{ $msg }}
@endif @if (isset($error))
{{ $error }}
@endif @if (count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

{{ \App\Models\Setting::where('setting_key','company_name')->first()->setting_value }}

@if(!empty(\App\Models\Setting::where('setting_key','company_logo')->first()->setting_value)) @else @endif
{!! Form::open(array('url' => url('client/register'), 'method' => 'post', 'name' => 'form','class'=>'register-form')) !!}
{{ translate('register') }} {{ translate('register_account_msg') }}
{!! Form::text('first_name', null, array('class' => 'form-control', 'placeholder'=>translate('first_name'),'required'=>'required','id'=>'first_name')) !!}
{!! Form::text('last_name', null, array('class' => 'form-control', 'placeholder'=>translate('last_name'),'required'=>'required','id'=>'last_name')) !!}
{!! Form::select('gender',array('Male'=>translate('male'),'Female'=>translate('female')),'Male', array('class' => 'form-control','required'=>'required')) !!}
{!! Form::number('mobile', null, array('class' => 'form-control', 'placeholder'=>translate('mobile'),'required'=>'required','id'=>'mobile')) !!}
{!! Form::text('dob',null, array('class' => 'form-control date-picker', 'placeholder'=>translate('dob'),'required'=>'required')) !!}
{!! Form::select('working_status',array('Employee'=>translate('Employee'),'Owner'=>translate('Owner'),'Student'=>translate('Student'),'Overseas Worker'=>translate('Overseas Worker'),'Pensioner'=>translate('Pensioner'),'Unemployed'=>translate('Unemployed')),null, array('class' => 'form-control',)) !!}
{!! Form::email('email', null, array('class' => 'form-control', 'placeholder'=>translate('email'),'required'=>'required','id'=>'email')) !!}
{!! Form::text('username', null, array('class' => 'form-control', 'placeholder'=>translate('username'),'required'=>'required','id'=>'username')) !!}
{!! Form::password('password', array('class' => 'form-control', 'placeholder'=>translate('password'),'required'=>'required','id'=>'password')) !!}
{!! Form::password('repeat_password', array('class' => 'form-control', 'placeholder'=>translate('repeat_password'),'required'=>'required','id'=>'repeat_password')) !!}
{!! Form::close() !!}
@endsection @section('footer-scripts') @endsection