@extends('layouts.publicador.novo_padrao') @section('content')

@lang('labels.escola_legislativo') / @lang('labels.universitarios_ccj') {{ empty($model->id) ? __('labels.acoes.adicionar') : __('labels.acoes.alterar') }}

@if ($errors->any())
@lang('labels.msg.verifique')
@endif {{ html()->modelForm($model, 'PUT')->route('publicador.geracao.projetos.salvar')->open() }} {{ html()->hidden('id') }}
{{ html()->label('nome', __('labels.nome')) }} {{ html()->text('nome', null)->class(['form-control form-control-sm ', 'is-invalid' => $errors->has('nome')])->maxlength(190)->placeholder(__('labels.nome')) }} @if ($errors->has('nome'))
{{ $errors->first('nome') }}
@endif
{{ html()->label('cidade', __('labels.cidade')) }} {{ html()->text('cidade', null)->class(['form-control form-control-sm ', 'is-invalid' => $errors->has('cidade')])->maxlength(190)->placeholder(__('labels.cidade')) }} @if ($errors->has('cidade'))
{{ $errors->first('cidade') }}
@endif
{{ html()->label('escola', __('labels.escola')) }} {{ html()->text('escola', null)->class(['form-control form-control-sm ', 'is-invalid' => $errors->has('escola')])->maxlength(190)->placeholder(__('labels.escola')) }} @if ($errors->has('escola'))
{{ $errors->first('escola') }}
@endif
{{ html()->label('nucleo_regional', __('labels.nucleo_regional')) }} {{ html()->text('nucleo_regional', null)->class(['form-control form-control-sm ', 'is-invalid' => $errors->has('escola')])->maxlength(190)->placeholder(__('labels.nucleo_regional')) }} @if ($errors->has('nucleo_regional'))
{{ $errors->first('nucleo_regional') }}
@endif
{{ html()->label('email', __('labels.email')) }} {{ html()->email('email', null)->class(['form-control form-control-sm ', 'is-invalid' => $errors->has('email')])->maxlength(190)->placeholder(__('labels.email')) }} @if ($errors->has('email'))
{{ $errors->first('email') }}
@endif
{{ html()->label('telefone', trans_choice('labels.telefones', 1)) }} {{ html()->text('telefone', null)->class(['form-control form-control-sm ', 'is-invalid' => $errors->has('telefone')])->maxlength(190)->placeholder(trans_choice('labels.telefones', 1)) }} @if ($errors->has('telefone'))
{{ $errors->first('telefone') }}
@endif
{{ html()->label('rg', __('labels.rg')) }} {{ html()->text('rg', null)->class(['form-control form-control-sm ', 'is-invalid' => $errors->has('rg')])->maxlength(20)->placeholder(__('labels.rg')) }} @if ($errors->has('rg'))
{{ $errors->first('rg') }}
@endif
{{ html()->label('matricula', __('labels.matricula')) }} {{ html()->text('matricula', null)->class(['form-control form-control-sm ', 'is-invalid' => $errors->has('matricula')])->maxlength(190)->placeholder(__('labels.matricula')) }} @if ($errors->has('matricula'))
{{ $errors->first('matricula') }}
@endif
{{ html()->label('professor', __('labels.professor')) }} {{ html()->text('professor', null)->class(['form-control form-control-sm ', 'is-invalid' => $errors->has('professor')])->maxlength(190)->placeholder(__('labels.professor')) }} @if ($errors->has('professor'))
{{ $errors->first('professor') }}
@endif
{{ html()->label('professor_fone', sprintf('%s %s', trans_choice('labels.telefones', 1), __('labels.professor'))) }} {{ html()->text('professor_fone', null)->class(['form-control form-control-sm ', 'is-invalid' => $errors->has('professor_fone')])->maxlength(190)->placeholder(sprintf('%s %s', trans_choice('labels.telefones', 1), __('labels.professor'))) }} @if ($errors->has('professor_fone'))
{{ $errors->first('professor_fone') }}
@endif
{{ html()->label('professor_email', sprintf('%s %s', __('labels.email'), __('labels.professor'))) }} {{ html()->email('professor_email', null)->class(['form-control form-control-sm ', 'is-invalid' => $errors->has('professor_email')])->maxlength(190)->placeholder(sprintf('%s %s', __('labels.email'), __('labels.professor'))) }} @if ($errors->has('professor_email'))
{{ $errors->first('professor_email') }}
@endif
{{ html()->label('professor_rg', sprintf('%s %s', __('labels.rg'), __('labels.professor'))) }} {{ html()->text('professor_rg', null)->class(['form-control form-control-sm ', 'is-invalid' => $errors->has('professor_rg')])->maxlength(20)->placeholder(sprintf('%s %s', __('labels.rg'), __('labels.professor'))) }} @if ($errors->has('professor_rg'))
{{ $errors->first('professor_rg') }}
@endif
{{ html()->label('ementa', __('labels.ementa')) }} {{ html()->textarea('ementa', null)->attribute('style', 'height: 250px;')->class(['form-control form-control-sm ', 'is-invalid' => $errors->has('ementa')])->placeholder(__('labels.ementa')) }} @if ($errors->has('ementa'))
{{ $errors->first('ementa') }}
@endif
{{ html()->label('normativa', __('labels.normativa')) }} {{ html()->textarea('normativa', null)->attribute('style', 'height: 250px;')->class(['form-control form-control-sm ', 'is-invalid' => $errors->has('normativa')])->placeholder(__('labels.normativa')) }} @if ($errors->has('normativa'))
{{ $errors->first('normativa') }}
@endif
{{ html()->label('justificativa', __('labels.justificativa')) }} {{ html()->textarea('justificativa', null)->attribute('style', 'height: 250px;')->class(['form-control form-control-sm ', 'is-invalid' => $errors->has('justificativa')])->placeholder(__('labels.justificativa')) }} @if ($errors->has('justificativa'))
{{ $errors->first('justificativa') }}
@endif
@include('layouts.publicador.tinymce')

@lang('labels.acoes.cancelar') {{ html()->submit(__('labels.acoes.salvar'))->class(['btn btn-success']) }}

{{ html()->closeModelForm() }}
@endsection