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

Processo Conselho de Ética {{ empty($model->id) ? __('labels.acoes.adicionar') : __('labels.acoes.alterar') }}

@if ($errors->any())
@lang('labels.msg.verifique')
@endif @if (empty($model->id)) {!! Form::open([ 'route' => ['publicador.conselhoetica.salvar'], 'method' => 'POST', 'class' => 'form form-edit', ]) !!} @else {!! Form::model($model, [ 'route' => ['publicador.conselhoetica.update', [$model]], 'method' => 'PUT', 'class' => 'form form-edit', ]) !!} {{ Form::hidden('id') }} @endif @csrf
{{ Form::label('name', 'Nome interno (SEI)', ['class' => 'form-label']) }} {{ Form::text('name', null, [ 'class' => 'form-control ' . ($errors->has('name') ? 'is-invalid' : ''), 'maxlength' => 255, 'placeholder' => 'Nome interno (SEI)', 'required' => false, ]) }} @if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
{{ Form::label('representante', 'Representante', ['class' => 'form-label']) }} {{ Form::text('representante', null, [ 'class' => 'form-control ' . ($errors->has('representante') ? 'is-invalid' : ''), 'maxlength' => 255, 'placeholder' => 'Representante', 'required' => true, ]) }} @if ($errors->has('representante'))
{{ $errors->first('representante') }}
@endif
{{ Form::label('representado', 'Representado', ['class' => 'form-label']) }} {{ Form::text('representado', null, [ 'class' => 'form-control ' . ($errors->has('representado') ? 'is-invalid' : ''), 'maxlength' => 255, 'placeholder' => 'Representado', 'required' => true, ]) }} @if ($errors->has('representado'))
{{ $errors->first('representado') }}
@endif
{{ Form::label('status', 'Status', ['class' => 'form-label']) }} {{ Form::select( 'status', ['arquivado' => 'Arquivado', 'tramitando' => 'Tramitando'], $model->status ?? 'tramitando', [ 'class' => 'form-control ' . ($errors->has('status') ? 'is-invalid' : ''), 'placeholder' => 'Selecione o status', 'required' => true, ], ) }} @if ($errors->has('status'))
{{ $errors->first('status') }}
@endif
@if (empty($model->id)) Salve o processo para inserir arquivos. @else Clique aqui para alterar arquivos @endif
{{ Form::checkbox('oculto', 1, empty($model->id) ? true : null, [ 'class' => 'form-check-input ' . ($errors->has('oculto') ? 'is-invalid' : ''), 'id' => 'oculto', ]) }} {{ Form::label('oculto', 'Oculto', ['class' => 'form-check-label']) }} @if ($errors->has('oculto'))
{{ $errors->first('oculto') }}
@endif
@lang('labels.acoes.cancelar')
{!! Form::close() !!}
@endsection