@extends('backend.layouts.app') @section('title', __('labels.backend.teachers.title').' | '.app_name()) @section('content') {{ html()->form('POST', route('admin.teachers.store'))->acceptsFiles()->class('form-horizontal')->open() }}

@lang('labels.backend.teachers.create')

{{ html()->label(__('labels.backend.teachers.fields.first_name'))->class('col-md-2 form-control-label')->for('first_name') }}
{{ html()->text('first_name') ->class('form-control') ->placeholder(__('labels.backend.teachers.fields.first_name')) ->attribute('maxlength', 191) ->required() ->autofocus() }}
{{ html()->label(__('labels.backend.teachers.fields.last_name'))->class('col-md-2 form-control-label')->for('last_name') }}
{{ html()->text('last_name') ->class('form-control') ->placeholder(__('labels.backend.teachers.fields.last_name')) ->attribute('maxlength', 191) ->required() }}
{{ html()->label(__('labels.backend.teachers.fields.email'))->class('col-md-2 form-control-label')->for('email') }}
{{ html()->email('email') ->class('form-control') ->placeholder(__('labels.backend.teachers.fields.email')) ->attribute('maxlength', 191) ->required() }}
{{ html()->label(__('labels.backend.teachers.fields.password'))->class('col-md-2 form-control-label')->for('password') }}
{{ html()->password('password') ->class('form-control') ->placeholder(__('labels.backend.teachers.fields.password')) ->required() }}
{{ html()->label(__('labels.backend.teachers.fields.image'))->class('col-md-2 form-control-label')->for('image') }}
{!! Form::file('image', ['class' => 'form-control d-inline-block', 'placeholder' => '']) !!}
{{ form_cancel(route('admin.teachers.index'), __('buttons.general.cancel')) }} {{ form_submit(__('buttons.general.crud.create')) }}
{{ html()->form()->close() }} @endsection