@extends('frontend'.(session()->get('display_type') == "rtl"?"-rtl":"").'.layouts.app'.config('theme_layout')) @section('title', app_name() . ' | ' . __('labels.teacher.teacher_register_box_title')) @section('content')
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {{ html()->form('POST', route('frontend.auth.teacher.register.post'))->acceptsFiles()->class('form-horizontal')->open() }} {!! csrf_field() !!}

{{ __('validation.attributes.frontend.personal_information') }}

{{ html()->label(__('validation.attributes.frontend.first_name'))->for('first_name') }} {{ html()->text('first_name') ->class('form-control') ->placeholder(__('validation.attributes.frontend.first_name')) ->attribute('maxlength', 191) ->required() }}
{{ html()->label(__('validation.attributes.frontend.last_name'))->for('last_name') }} {{ html()->text('last_name') ->class('form-control') ->placeholder(__('validation.attributes.frontend.last_name')) ->attribute('maxlength', 191) ->required() }}
{{ html()->label(__('validation.attributes.frontend.email'))->for('email') }} {{ html()->email('email') ->class('form-control') ->placeholder(__('validation.attributes.frontend.email')) ->attribute('maxlength', 191) ->required() }}
{{ html()->label(__('validation.attributes.frontend.password'))->for('password') }} {{ html()->password('password') ->class('form-control') ->placeholder(__('validation.attributes.frontend.password')) ->required() }}
{{ html()->label(__('validation.attributes.frontend.password_confirmation'))->for('password_confirmation') }} {{ html()->password('password_confirmation') ->class('form-control') ->placeholder(__('validation.attributes.frontend.password_confirmation')) ->required() }}
{{ html()->label(__('labels.backend.teachers.fields.image'))->class('form-control-label')->for('image') }} {!! Form::file('image', ['class' => 'form-control d-inline-block', 'placeholder' => '']) !!}
{{ html()->label(__('labels.backend.general_settings.user_registration_settings.fields.gender'))->for('password_confirmation') }} :

{{ __('validation.attributes.frontend.social_information') }}

{{ html()->label(__('labels.teacher.facebook_link')) }} {{ html()->text('facebook_link') ->class('form-control') ->placeholder(__('labels.teacher.facebook_link')) }}
{{ html()->label(__('labels.teacher.twitter_link')) }} {{ html()->text('twitter_link') ->class('form-control') ->placeholder(__('labels.teacher.twitter_link')) }}
{{ html()->label(__('labels.teacher.linkedin_link')) }} {{ html()->text('linkedin_link') ->class('form-control') ->placeholder(__('labels.teacher.linkedin_link')) }}

{{ __('validation.attributes.frontend.payment_information') }}

{{ html()->label(__('labels.teacher.payment_details')) }}
{{ html()->label(__('labels.teacher.bank_details.name')) }} {{ html()->text('bank_name') ->class('form-control') ->placeholder(__('labels.teacher.bank_details.name')) }}
{{ html()->label(__('labels.teacher.bank_details.bank_code')) }} {{ html()->text('bank_code') ->class('form-control') ->placeholder(__('labels.teacher.bank_details.bank_code')) }}
{{ html()->label(__('labels.teacher.bank_details.account')) }} {{ html()->text('account_number') ->class('form-control') ->placeholder(__('labels.teacher.bank_details.account')) }}
{{ html()->label(__('labels.teacher.bank_details.holder_name')) }} {{ html()->text('account_name') ->class('form-control') ->placeholder(__('labels.teacher.bank_details.holder_name')) }}
{{ html()->label(__('labels.teacher.paypal_email')) }} {{ html()->text('paypal_email') ->class('form-control') ->placeholder(__('labels.teacher.paypal_email')) }}
{{ html()->label(__('labels.teacher.description')) }} {{ html()->textarea('description') ->class('form-control') ->placeholder(__('labels.teacher.description')) }}
{{ html()->form()->close() }}
@endsection @push('after-scripts') @if(old('payment_method') && old('payment_method') == 'bank') @elseif(old('payment_method') && old('payment_method') == 'paypal') @else @endif @endpush