@extends($layout) @section('content')
@include('errors.errors')
@if(checkRole(getUserGrade(2))) @endif

{{ $title }}

{{ Form::model($record, array('url' => ['users/parent-details/'.$record->slug], 'method'=>'patch')) }}

{{getPhrase('parent_login_details')}}

@if(!$user_record->parent_id)
{{ Form::label('search', getphrase('search')) }} * {{ Form::text('search', $value = null , $attributes = array( 'class' => 'form-control', 'placeholder' => 'Jack', 'ng-model' => 'search', 'ng-change' => 'getParentRecords(search)', )) }}

Please type any details for search

Name Email Phone
@{{item.name}} @{{item.email}} @{{item.phone}}
{{ Form::label('parent_name', getphrase('parent_name')) }} * {{ Form::text('parent_name', $value = null , $attributes = array('class'=>'form-control', 'placeholder' => 'Jack', 'ng-model'=>'parent_name')) }}
{{ Form::label('parent_user_name', getphrase('parent_user_name')) }} * {{ Form::text('parent_user_name', $value = null , $attributes = array('class'=>'form-control', 'placeholder' => 'Jack', 'ng-model'=>'parent_user_name')) }}
{{ Form::label('parent_email', getphrase('parent_email')) }} {{ Form::text('parent_email', $value = null , $attributes = array('class'=>'form-control', 'placeholder' => 'Jarvis', 'ng-model'=>'parent_email')) }}
{{ Form::label('parent_password', getphrase('password')) }} {{ Form::password('parent_password',$attributes = array('class'=>'form-control')) }}
{!! Form::close() !!} @else