{{ Form::model($record, array('url' => ['student/profile/edit/general', $userRecord->slug], 'method'=>'patch')) }}

{{ getPhrase('admission_details')}}

{{getPhrase('info')}} ! {{ getPhrase('once_saved_the_admission_details_cannot_be_edited ') }}
{{ Form::label('admission_no', getphrase('admission_no')) }} * {{ Form::text('admission_no', $value = null , $attributes = array('class'=>'form-control','readonly'=>'true', 'placeholder' => 'STU1')) }}
{{ Form::label('roll_no', getphrase('roll_no')) }} * {{ Form::text('roll_no', $value = null , $attributes = array('class'=>'form-control','readonly'=>'true', 'placeholder' => 'Auto-Generated')) }}
@if($join_date=='')
{{ Form::label('date_of_join', getphrase('date_of_join')) }} *
{{ Form::text('date_of_join', $value = date('Y/m/d') , $attributes = array('class'=>'form-control', 'placeholder' => '2015/7/17', 'id'=>'dp')) }}
@else
{{ Form::label('date_of_join', getphrase('date_of_join')) }} * {{ Form::text('date_of_join', $value =$join_date , $attributes = array('class'=>'form-control', 'placeholder' => '2015/7/17', 'id'=>'dp','readonly'=>true)) }}
@endif @if($record->roll_no!=''||$record->branch_id!=0||$record->academic_id!=0 ||$record->course_parent_id!=0||$record->course_id!=0)
{{ Form::label('academic_year', getphrase('branch')) }} * {{ Form::text('branch_id', $value = $join_branchName->branch_name.' ('.$join_branchName->address.')' , $attributes = array('class'=>'form-control','readonly'=>'true')) }}
{{ Form::label('academic_year', getphrase('academic_year')) }} * {{ Form::text('academic_id', $value = $join_academicTitle->academic_year_title , $attributes = array('class'=>'form-control','readonly'=>'true')) }}
{{ Form::label('parent_course', getphrase('parent_course')) }} * {{ Form::text('course_parent_id', $value = $join_parentName->course_title , $attributes = array('class'=>'form-control','readonly'=>'true')) }}
@if($record->roll_no)
{{ Form::label('course', getphrase('course')) }} * {{ Form::text('course_id', $value = $join_courseName->course_title , $attributes = array('class'=>'form-control','readonly'=>'true')) }}
@endif @endif

{{ getPhrase('present_academic_details')}}

@if($record->branch_id!=0||$record->academic_id!=0||$record->course_parent_id!=0||$record->course_id!=0)
{{ Form::label('branch_name', getphrase('current_branch_name')) }} * {{ Form::text('branch_id', $value = $branch_name_rec->branch_name.' ('.$branch_name_rec->address.')' , $attributes = array('class'=>'form-control','readonly'=>'true')) }}
{{ Form::label('academic_year', getphrase('current_academic_year')) }} * {{ Form::text('academic_id', $value = $academic_title->academic_year_title , $attributes = array('class'=>'form-control','readonly'=>'true')) }}
{{ Form::label('parent_course', getphrase('parent_course')) }} * {{ Form::text('course_parent_id', $value = $course_parent_name->course_title , $attributes = array('class'=>'form-control','readonly'=>'true')) }}
{{ Form::label('course', getphrase('current_course')) }} * {{ Form::text('course_id', $value = $course_name->course_title , $attributes = array('class'=>'form-control','readonly'=>'true')) }}
@if(!empty($record->roll_no)) @endif
@else