@extends('Shared.Layouts.MasterWithoutMenus') @section('title') @lang("User.sign_up") @stop @section('content')
{!! Form::open(array('url' => route("showSignup"), 'class' => 'panel')) !!}

@lang("User.sign_up")

@if(Input::get('first_run'))
@lang("User.sign_up_first_run")
@endif
{!! Form::label('first_name', trans("User.first_name"), ['class' => 'control-label required']) !!} {!! Form::text('first_name', null, ['class' => 'form-control']) !!} @if($errors->has('first_name'))

{{ $errors->first('first_name') }}

@endif
{!! Form::label('last_name', trans("User.last_name"), ['class' => 'control-label']) !!} {!! Form::text('last_name', null, ['class' => 'form-control']) !!} @if($errors->has('last_name'))

{{ $errors->first('last_name') }}

@endif
{!! Form::label('email', trans("User.email"), ['class' => 'control-label required']) !!} {!! Form::text('email', null, ['class' => 'form-control']) !!} @if($errors->has('email'))

{{ $errors->first('email') }}

@endif
{!! Form::label('password', trans("User.password"), ['class' => 'control-label required']) !!} {!! Form::password('password', ['class' => 'form-control']) !!} @if($errors->has('password'))

{{ $errors->first('password') }}

@endif
{!! Form::label('password_confirmation', 'Password again', ['class' => 'control-label required']) !!} {!! Form::password('password_confirmation', ['class' => 'form-control']) !!} @if($errors->has('password_confirmation'))

{{ $errors->first('password_confirmation') }}

@endif
@if(Utils::isAttendize())
{!! Form::checkbox('terms_agreed', Input::old('terms_agreed'), false, ['id' => 'terms_agreed']) !!} {!! Form::rawLabel('terms_agreed', trans("User.terms_and_conditions", ["url"=>route('termsAndConditions')])) !!} @if ($errors->has('terms_agreed'))

{{ $errors->first('terms_agreed') }}

@endif
@endif
{!! Form::submit(trans("User.sign_up"), array('class'=>"btn btn-block btn-success")) !!}
{!! Form::close() !!}
@stop