@extends('layouts.admin') @section('content')
{{ trans('global.create') }} {{ trans('cruds.training.title_singular') }}
@csrf
@if($errors->has('name'))
{{ $errors->first('name') }}
@endif {{ trans('cruds.training.fields.name_helper') }}
@if($errors->has('district'))
{{ $errors->first('district') }}
@endif {{ trans('cruds.training.fields.district_helper') }}
@if($errors->has('assembly'))
{{ $errors->first('assembly') }}
@endif {{ trans('cruds.training.fields.assembly_helper') }}
@if($errors->has('dob'))
{{ $errors->first('dob') }}
@endif {{ trans('cruds.training.fields.dob_helper') }}
@if($errors->has('father_name'))
{{ $errors->first('father_name') }}
@endif {{ trans('cruds.training.fields.father_name_helper') }}
@foreach(App\Models\Training::GENDER_RADIO as $key => $label)
@endforeach @if($errors->has('gender'))
{{ $errors->first('gender') }}
@endif {{ trans('cruds.training.fields.gender_helper') }}
@if($errors->has('email'))
{{ $errors->first('email') }}
@endif {{ trans('cruds.training.fields.email_helper') }}
@if($errors->has('facebook'))
{{ $errors->first('facebook') }}
@endif {{ trans('cruds.training.fields.facebook_helper') }}
@if($errors->has('twitter'))
{{ $errors->first('twitter') }}
@endif {{ trans('cruds.training.fields.twitter_helper') }}
@if($errors->has('whatsapp_number'))
{{ $errors->first('whatsapp_number') }}
@endif {{ trans('cruds.training.fields.whatsapp_number_helper') }}
@if($errors->has('youtube_channel'))
{{ $errors->first('youtube_channel') }}
@endif {{ trans('cruds.training.fields.youtube_channel_helper') }}
@if($errors->has('instagram'))
{{ $errors->first('instagram') }}
@endif {{ trans('cruds.training.fields.instagram_helper') }}
@if($errors->has('interested_in'))
{{ $errors->first('interested_in') }}
@endif {{ trans('cruds.training.fields.interested_in_helper') }}
@if($errors->has('education'))
{{ $errors->first('education') }}
@endif {{ trans('cruds.training.fields.education_helper') }}
@if($errors->has('profession'))
{{ $errors->first('profession') }}
@endif {{ trans('cruds.training.fields.profession_helper') }}
@if($errors->has('address'))
{{ $errors->first('address') }}
@endif {{ trans('cruds.training.fields.address_helper') }}
@if($errors->has('photo'))
{{ $errors->first('photo') }}
@endif {{ trans('cruds.training.fields.photo_helper') }}
@endsection @section('scripts') @endsection