File manager - Edit - /var/www/html/portal/storage/framework/views/5cf1e5d08b5322c2e180ef78f89e067d.php
Back
<?php $__env->startSection("title", env("APP_NAME") . " :: Nova Notícia"); ?> <?php $__env->startSection('content'); ?> <div class="container"> <div class="row"> <div class="col-12"> <div class="card shadow"> <form action="<?php echo e(route('admin.noticias.store')); ?>" method="post" enctype="multipart/form-data"> <?php $headLine = "<i class='fa-solid fa-bullhorn'></i> Nova Notícia"; ?> <?php echo $__env->make('components.buttons._headLineButtonsBackAdd', [ 'headLine' => __($headLine), 'routeBack' => 'admin.noticias.index', 'routeBackParams' => [], 'nameBack' => __("Voltar"), ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <div class="card-body"> <?php echo csrf_field(); ?> <?php echo $__env->make("errors.messageFlash", array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <input type="hidden" name="slug"> <input type="hidden" name="movie"> <input type="hidden" name="type" value="DESTAQUE"> <div class="mb-3"> <?php echo $__env->make('components.inputs._inputType',[ "for" => null, "label" => "Título da Notícia", "name" => "title", "id" => null, "required" => false, "type" => 'text', "old" => old('title'), "oninput" => null, "readonly" => false, "small" => null, "placeholder" => null, ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <small id="charCounterTitleNews" class="text-muted">0/85</small> </div> <div class="mb-3 text-wrap"> <!-- Campo Resumo --> <?php echo $__env->make('components.inputs._textarea', [ 'label' => 'Resumo', 'name' => 'summary', 'id' => null, 'rows' => 0, 'required' => false, 'height' => '100px', 'class' => null, 'style' => null, 'value' => old('summary'), ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <small id="charCounterSummaryNews" class="text-muted">0/200</small> </div> <div class="mb-3"> <!-- Campo Corpo da Nótícia --> <?php echo $__env->make('components.inputs._textarea', [ 'label' => 'Corpo da Nótícia', 'name' => 'description', 'id' => null, 'rows' => 5, 'required' => false, 'height' => '400px', 'class' => "textarea-body", 'style' => null, 'value' => old('description'), ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> </div> <div class="mb-3"> <!-- Campo Link Flickr --> <?php echo $__env->make('components.inputs._inputType',[ "for" => null, "label" => "Link Flickr", "name" => "flickr", "id" => null, "required" => false, "type" => 'url', "old" => old('flickr'), "oninput" => "javascript:this.value = this.value.toLowerCase()", "readonly" => false, "small" => null, "placeholder" => "https://seulink.com", ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> </div> <div class="mb-3"> <!-- Campo Foto Destaque --> <?php echo $__env->make('components.inputs._inputType',[ "for" => null, "label" => "Foto Destaque", "name" => "featuredPhoto", "id" => null, "required" => false, "type" => 'file', "old" => null, "oninput" => null, "readonly" => true, "small" => null, "accept" => 'image/jpeg,image/jpg,image/png,image/gif', ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> </div> <div class="mb-3"> <!-- Campo Foto Corpo da Notícia --> <?php echo $__env->make('components.inputs._inputType',[ "for" => null, "label" => "Foto Corpo da Notícia", "name" => "internalPhoto", "id" => null, "required" => false, "type" => 'file', "old" => null, "oninput" => null, "readonly" => true, "small" => null, "accept" => 'image/jpeg,image/jpg,image/png,image/gif', ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> </div> <div class="mb-3"> <!-- Campo Status --> <?php echo $__env->make('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 ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> </div> <div class="mb-3 form-check"> <input class="form-check-input" type="checkbox" name="fix" id="fix"> <label class="form-check-label" for="fix"> <?php echo e(__("Sim, desejo fixar notícia.")); ?> </label> </div> <hr> <!-- Campo CheckBox Gabinete --> <?php echo $__env->make('components.inputs.inputCheckBoxListNoticias',[ 'collection' => $gabinetes, 'title' => '* Pertence ao Gabinete', 'small' => '* selecionar todos os gabinetes', 'id' => 'checkboxGabinetesNoticias', 'onclick' => 'javascript:selectAllCheckboxGabinetesNoticias(this)', 'belongsTo' => [], ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <!-- Campo CheckBox Secretarias --> <?php echo $__env->make('components.inputs.inputCheckBoxListNoticias',[ 'collection' => $secretarias, 'title' => '* Pertence as Secretarias', 'small' => '* selecionar todas as secretarias', 'id' => 'checkboxSecretariasNoticias', 'onclick' => 'javascript:selectAllCheckboxSecretariasNoticias(this)', 'belongsTo' => [], ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <!-- Campo CheckBox Executivas --> <?php echo $__env->make('components.inputs.inputCheckBoxListNoticias',[ 'collection' => $executivas, 'title' => '* Pertence as Executivas', 'small' => '* selecionar todas as executivas', 'id' => 'checkboxExecutivasNoticias', 'onclick' => 'javascript:selectAllCheckboxExecutivasNoticias(this)', 'belongsTo' => [], ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <!-- Campo CheckBox Autarquias ou Fundações --> <?php echo $__env->make('components.inputs.inputCheckBoxListNoticias',[ 'collection' => $autarquias, 'title' => '* Pertence as Autarquias ou Fundações', 'small' => '* selecionar todos os órgãos', 'id' => 'checkboxAutarquiasNoticias', 'onclick' => 'javascript:selectAllCheckboxAutarquiasNoticias(this)', 'belongsTo' => [], ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <!-- Campo CheckBox Categorias --> <?php echo $__env->make('components.inputs.inputCheckBoxListCategoriaNoticias',[ 'collection' => App\Enums\StatusTagCloudNewsEnum::cases(), 'title' => '* Categorias', 'small' => '* selecionar todas as categorias', 'id' => 'checkboxCategoriasNoticias', 'onclick' => 'javascript:selectAllCheckboxCategoriasNoticias(this)', 'tags' => [], ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <hr> <?php if(auth()->user()->getPermissaoDetalhes("ADMIN")): ?> <!-- Campo Códigos HTML --> <?php echo $__env->make('components.inputs._textarea', [ 'label' => 'Códigos HTML', 'name' => 'code', 'id' => null, 'rows' => 5, 'required' => false, 'height' => '400px', 'class' => null, 'style' => null, 'value' => old('code'), ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <hr> <?php endif; ?> <?php echo $__env->make('components.buttons._backAndSend', [ 'textBack' => 'Voltar', 'textSend' => 'Enviar', 'routeBack' => 'admin.noticias.index' ] , array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> </div> </form> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.admin.theme', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /var/www/html/portal/resources/views/admin/noticias/create.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.04 |
proxy
|
phpinfo
|
Settings