File manager - Edit - /var/www/html/portal/resources/views/admin/boletins/create.blade.php
Back
@extends('layouts.admin.theme') @section("title", env("APP_NAME") . " :: Novo Boletim") @section('content') <form action="{{ route('admin.boletins.store') }}" method="post" enctype="multipart/form-data"> <div class="container"> <div class="row"> <div class="col-12"> <div class="card shadow"> @include('components.buttons._headLineButtonsBackAdd', [ 'headLine' => __("Novo Boletim"), 'routeBack' => 'admin.boletins.index', 'routeBackParams' => [], 'nameBack' => __("Voltar"), ]) <div class="card-body"> @csrf @include("errors.messageFlash") <div class="mb-3"> <input type="hidden" name="page" value="{{ request()->input('page', 1) }}"> <!-- Campo Data --> @include('components.inputs._inputType',[ "for" => null, "label" => "Data", "name" => "publicationDate", "id" => null, "required" => true, "type" => "date", "old" => old('publicationDate'), "oninput" => null, "readonly" => false, "small" => null, ]) </div> <div class="mb-3"> <!-- Campo Mês --> @include('components.inputs._selectType', [ "for" => null, "label" => "Mês", "name" => "month", "required" => true, "readonly" => false, "options" => collect(App\Enums\StatusMonth::cases()) ->mapWithKeys(fn($status) => [$status->name => $status->value]) ->toArray(), "selected" => old('month'), "placeholder" => "Selecione um mês...", "small" => "Informe o do boletim.", "onchange" => null ]) </div> <div class="mb-3"> <!-- Campo Número --> @include('components.inputs._inputType',[ "for" => null, "label" => "Número", "name" => "number", "id" => null, "required" => true, "type" => null, "old" => old('number'), "oninput" => "javascript:this.value = this.value.replace(/\D/g, '')", "readonly" => false, "small" => null, ]) </div> <div class="mb-3"> <!-- Campo Título --> @include('components.inputs._inputType',[ "for" => null, "label" => "Título", "name" => "title", "id" => null, "required" => true, "type" => null, "old" => old('title'), "oninput" => "javascript:this.value = this.value.toUpperCase()", "readonly" => false, "small" => null, ]) </div> <div class="form-check mb-3"> <input class="form-check-input" type="checkbox" name="extraordinaryEdition" {{ old('extraordinaryEdition') ? 'checked' : '' }}> <label class="form-check-label" for="extraordinaryEdition"> Edição Extraordinária </label> </div> <div class="mb-3"> <!-- Campo Comprovante --> @include('components.inputs._inputType',[ "for" => null, "label" => "Arquivo", "name" => "url", "id" => null, "required" => true, "type" => 'file', "old" => null, "oninput" => null, "readonly" => true, "small" => null, "accept" => '.pdf', ]) </div> <div class="mb-3"> @include('components.inputs._selectType', [ "for" => "status", "label" => "Status", "name" => "status", "required" => true, "readonly" => false, "options" => collect(App\Enums\StatusEnum::cases()) ->mapWithKeys(fn($status) => [$status->name => $status->value]) ->toArray(), "selected" => old('status'), "placeholder" => "Selecione o status...", "small" => "Informe o status atual do usuário.", "onchange" => null ]) </div> @include('components.buttons._backAndSend', [ 'textBack' => 'Voltar', 'textSend' => 'Enviar', 'routeBack' => 'admin.boletins.index' ]) </div> </div> </div> </div> </div> </form> @endsection
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings