Se crean las especificaciones de los documentos a requerir por nivel, a su vez permitir al alumno subirlos
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
<?php $__env->startSection('title',"Edit"); ?>
|
||||
|
||||
<?php $__env->startSection('content'); ?>
|
||||
|
||||
<div class="container-fluid">
|
||||
<div class="card shadow mb-4">
|
||||
<div class="card-header py-3">
|
||||
<div class="d-sm-flex align-items-center justify-content-between">
|
||||
<h6 class="m-0 font-weight-bold text-primary">Editar nivel</h6>
|
||||
<a href="<?php echo e(route('nivel.index')); ?>" class="d-sm-inline-block btn btn-sm btn-primary shadow-sm"><i class="fas fa-download fa-sm text-white-50"></i> Regresar</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(session('info')): ?>
|
||||
<div class="alert alert-success">
|
||||
<strong><?php echo e(session('info')); ?></strong>
|
||||
</div>
|
||||
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
||||
<form action="<?php echo e(route('nivel.update',$nivel->id)); ?>" method="POST">
|
||||
<?php echo method_field('PUT'); ?>
|
||||
<?php echo csrf_field(); ?>
|
||||
<div class="mb-3">
|
||||
<label class="small mb-1">Nombre</label>
|
||||
<input class="form-control" name="name" value="<?php echo e($nivel->name); ?>">
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label>Seleccionar campus</label>
|
||||
|
||||
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $plantels; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $plantel): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||||
<div class="form-check">
|
||||
<input type="checkbox" class="form-check-input cb"
|
||||
id="<?php echo e($plantel->id); ?>"
|
||||
name="plantels[]" value="<?php echo e($plantel->id); ?>"
|
||||
<?php echo e($nivel->existe($plantel->id) ? 'checked' : ''); ?>
|
||||
|
||||
>
|
||||
<label class="form-check-label" for="<?php echo e($plantel->id); ?>">
|
||||
<?php echo e($plantel->name); ?>
|
||||
|
||||
</label>
|
||||
</div>
|
||||
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="status">Seleccionar status</label>
|
||||
<select class="form-control" name="status" id="status" value="<?php echo e($nivel->status); ?>">
|
||||
<option value="1" <?php echo e($nivel->status=='1' ? 'selected' : ''); ?>>Activo</option>
|
||||
<option value="0" <?php echo e($nivel->status=='0' ? 'selected' : ''); ?>>Inactivo</option>
|
||||
</select>
|
||||
</div>
|
||||
<input class="btn btn-primary" type="submit" value="Update">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php $__env->stopSection(); ?>
|
||||
|
||||
<?php echo $__env->make('layouts.landing', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\proyectos\primeros\sistemaEducativo\resources\views/nivel/edit.blade.php ENDPATH**/ ?>
|
||||
Reference in New Issue
Block a user