
<?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 Parceiro</h4>
                    <p class="text-muted">Editando Parceiro no Sistema</p>
                    <a class="btn btn-outline-primary w-100" type="button" href="<?php echo e(route('parceiros.index')); ?>"
                        role="button">Ver
                        todos</a>
                </div>
                <div class="card">
                    <div class="card-body">
                        <form action="<?php echo e(route('parceiros.update', $parceiro->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">Nome</label>
                                    <input type="text" name="nome" value="<?php echo e($parceiro->nome); ?>"
                                        class="form-control <?php $__errorArgs = ['$parceiro->nome'];
$__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">
                                    <div class="row">
                                        <div class="col-md-7">
                                            <label class="col-form-label">Url</label>
                                            <input type="text" name="url" value="<?php echo e($parceiro->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="col-md-3">
                                            <label class="col-form-label">Parceiro ícone</label>
                                            <input type="text" name="icone" value="<?php echo e($parceiro->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="col-md-2">
                                            <label class="control-label">Nova página</label>
                                            <select class="form-control" name="novapagina"
                                                value="<?php echo e($parceiro['novapagina']); ?>">
                                                <option value="">Selecione</option>
                                                <option value="N" <?php if($parceiro['novapagina'] == 'N'): ?> selected <?php endif; ?>>Não
                                                </option>
                                                <option value="S" <?php if($parceiro['novapagina'] == 'S'): ?> selected <?php endif; ?>>Sim
                                                </option>
                                            </select>
                                        </div>
                                    </div>
                                    <br>
                                    <div class="form-group">
                                        <input type="submit" value="Gravar"
                                            class="btn btn-sm btn-block btn-outline-success w-100">
                                    </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/parceiros/edit.blade.php ENDPATH**/ ?>