@extends('layouts.site') @section('content')
@include('layouts.site-navigation') @include('errors.errors') {!! Form::open(array('url' => URL_USERS_REGISTER, 'method' => 'POST', 'name'=>'formLanguage ', 'novalidate'=>'', 'class'=>"loginform", 'name'=>"registrationForm")) !!}
{{ Form::text('name', $value = null , $attributes = array('class'=>'form-control', 'placeholder' => getPhrase("name"), 'ng-model'=>'name', 'ng-pattern' => getRegexPattern('name'), 'required'=> 'true', 'ng-class'=>'{"has-error": registrationForm.name.$touched && registrationForm.name.$invalid}', 'ng-minlength' => '4', )) }}
{!! getValidationMessage()!!} {!! getValidationMessage('minlength')!!} {!! getValidationMessage('pattern')!!}
{{ Form::text('username', $value = null , $attributes = array('class'=>'form-control', 'placeholder' => getPhrase("username"), 'ng-model'=>'username', 'required'=> 'true', 'ng-class'=>'{"has-error": registrationForm.username.$touched && registrationForm.username.$invalid}', 'ng-minlength' => '4', )) }}
{!! getValidationMessage()!!} {!! getValidationMessage('minlength')!!} {!! getValidationMessage('pattern')!!}
{{ Form::email('email', $value = null , $attributes = array('class'=>'form-control', 'placeholder' => getPhrase("email"), 'ng-model'=>'email', 'required'=> 'true', 'ng-class'=>'{"has-error": registrationForm.email.$touched && registrationForm.email.$invalid}', )) }}
{!! getValidationMessage()!!} {!! getValidationMessage('email')!!}
{{ Form::password('password', $attributes = array('class'=>'form-control instruction-call', 'placeholder' => getPhrase("password"), 'ng-model'=>'registration.password', 'required'=> 'true', 'ng-class'=>'{"has-error": registrationForm.password.$touched && registrationForm.password.$invalid}', 'ng-minlength' => 5 )) }}
{!! getValidationMessage()!!} {!! getValidationMessage('password')!!}
{{ Form::password('password_confirmation', $attributes = array('class'=>'form-control instruction-call', 'placeholder' => getPhrase("password_confirmation"), 'ng-model'=>'registration.password_confirmation', 'required'=> 'true', 'ng-class'=>'{"has-error": registrationForm.password_confirmation.$touched && registrationForm.password_confirmation.$invalid}', 'ng-minlength' => 5, 'compare-to' =>"registration.password" )) }}
{!! getValidationMessage()!!} {!! getValidationMessage('minlength')!!} {!! getValidationMessage('confirmPassword')!!}