File manager - Edit - /var/www/html/portal/resources/views/admin/legislacao/autores/edit.blade.php
Back
@extends('layouts.admin.theme') @section('title', env('APP_NAME') . ' :: ' . __('Editar autor')) @section('content') @include('errors.messageFlash') <div class="card shadow-sm"> @php $headLine = "<i class='fa-solid fa-pen-to-square'></i> " . __('Editar autor'); @endphp @include('components.buttons._headLineButtonsBackAdd', [ 'headLine' => __($headLine), 'routeBack' => 'admin.legislacao.cadastros.index', 'routeBackParams' => array_merge(['aba' => 'autores'], $filterParams ?? []), 'nameBack' => __('Cadastros'), 'permission' => 'GERENCIADOR_DE_LEGISLACAO', ]) <div class="card-body"> <form method="post" action="{{ route('admin.legislacao.autores.update', $autor) }}"> @csrf @method('put') @foreach($filterParams ?? [] as $key => $value) @if($value !== null && $value !== '') <input type="hidden" name="{{ $key }}" value="{{ $value }}"> @endif @endforeach <div class="mb-3"> <label class="form-label">{{ __('Nome') }}</label> <input type="text" name="nm_autor" class="form-control" required maxlength="255" value="{{ old('nm_autor', $autor->nm_autor) }}"> </div> <div class="mb-3"> <label class="form-label">{{ __('Cargo') }}</label> <select name="id_cargo" class="form-select"> <option value="">{{ __('Selecione') }}</option> @foreach ($cargos as $cargo) <option value="{{ $cargo->id_cargo }}" @selected((int) old('id_cargo', $autor->id_cargo ?? 0) === (int) $cargo->id_cargo)> {{ $cargo->nm_cargo }} </option> @endforeach </select> </div> <div class="mt-3 d-flex justify-content-end"> <button type="submit" class="btn btn-success px-4"> <i class="fa-solid fa-floppy-disk me-1" aria-hidden="true"></i>{{ __('Salvar') }} </button> </div> </form> </div> </div> @endsection
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings