
<?php $__env->startSection('content'); ?>
    <div class="row match-height">
        <div class="col-md-12 col-12">
            <div class="card">
                <div class="card-header">
                    <h4 class="card-title text-primary">Editando Transparência Municipal</h4>
                    <p class="text-muted">Editando Links de Transparência no Sistema</p>
                    <a class="btn btn-outline-primary w-100" type="button" href="<?php echo e(route('transparencias.index')); ?>"
                        role="button">Ver todas</a>
                </div>
                <div class="card">
                    <div class="card-body">
                        <form action="<?php echo e(route('transparencias.update', ['transparencia' => $transparencias->id])); ?>"
                            method="POST" class="form-horizontal">
                            <?php echo method_field('PUT'); ?>
                            <?php echo csrf_field(); ?>
                            <div class="box box-info">

                                <div class="form-group">
                                    <label class="col-form-label">Título</label>
                                    <input type="text" name="titulo" value="<?php echo e($transparencias->titulo); ?>"
                                        class="form-control <?php $__errorArgs = ['titulo'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>">
                                </div>

                                <div class="form-group">
                                    <label class="col-form-label">Descrição</label>
                                    <input type="text" name="descricao" value="<?php echo e($transparencias->descricao); ?>"
                                        class="form-control <?php $__errorArgs = ['descricao'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>">
                                </div>

                                <div class="form-group">
                                    <label class="col-form-label">Documento</label>
                                    <input type="file" name="documento" value="<?php echo e($transparencias->documento); ?>"
                                        class="form-control">
                                </div>

                                <div class="form-group">
                                    <label class="col-form-label">Url</label>
                                    <input type="text" name="url" value="<?php echo e($transparencias->url); ?>"
                                        class="form-control <?php $__errorArgs = ['url'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>">
                                </div>

                                <div class="row">
                                    <div class="form-group col-md-4">
                                        <label class="control-label">Ícone</label>
                                        <input type="text" name="icone" value="<?php echo e($transparencias->icone); ?>"
                                            class="form-control <?php $__errorArgs = ['icone'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>">
                                    </div>
                                    <div class="form-group col-md-4">
                                        <label class="control-label">Meta</label>
                                        <input type="text" name="meta" value="<?php echo e($transparencias->meta); ?>"
                                            class="form-control <?php $__errorArgs = ['meta'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>">
                                    </div>
                                    <div class="form-group col-md-2">
                                        <label class="control-label">Covid</label>
                                        <select class="form-control" name="covid" value="<?php echo e($transparencias['covid']); ?>">
                                            <option value="N" <?php if($transparencias['covid'] == 'N'): ?> selected <?php endif; ?>>Não
                                            </option>
                                            <option value="S" <?php if($transparencias['covid'] == 'S'): ?> selected <?php endif; ?>>Sim
                                            </option>
                                        </select>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <input type="submit" value="Gravar" class="btn btn-sm btn-block btn-outline-success">
                                </div>
                            </div>

                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layouts.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\laragon\www\portalmunicipal\resources\views/admin/transparencias/edit.blade.php ENDPATH**/ ?>