@extends('layouts.admin') @section('page-title','') @section('breadcrumb') @include('admin.partials.crumb',[ 'crumbs'=>[ route('admin.dashboard')=>__('default.dashboard'), route('admin.student.index')=>__lang('students'), '#'=>isset($pageTitle)?$pageTitle:'' ]]) @endsection @section('content')
{{ __lang('student') }} {{ __lang('details') }}
@csrf
{{ formElement($form->get('name')) }}

{{ formElementErrors($form->get('name')) }}

{{ formElement($form->get('last_name')) }}

{{ formElementErrors($form->get('last_name')) }}

{{ formElement($form->get('email')) }}

{{ formElementErrors($form->get('email')) }}

{{ formElement($form->get('picture')) }}

{{ formElementErrors($form->get('picture')) }}

{{ formElement($form->get('mobile_number')) }}

{{ formElementErrors($form->get('mobile_number')) }}

{{ formElement($form->get('status')) }}

{{ formElementErrors($form->get('status')) }}

@php foreach($fields as $row): @endphp
@php if($row->type == 'checkbox'): @endphp
{{ formElement($form->get('custom_'.$row->id)) }}

{{ formElementErrors($form->get('custom_'.$row->id)) }}

@php elseif($row->type == 'radio'): @endphp
{{ formElement($form->get('custom_'.$row->id)) }}

{{ formElementErrors($form->get('custom_'.$row->id)) }}

@php else: @endphp
{{ formElement($form->get('custom_'.$row->id)) }}

{{ formElementErrors($form->get('custom_'.$row->id)) }}

@php endif; @endphp
@php endforeach; @endphp
@endsection