<div class="form-group">
    <label class="control-label" for="comuna"><?php echo e('Comuna:'); ?></label>
    <input class="form-control <?php echo e($errors->has('comuna')?'is-invalid':''); ?>" type="text" name="comuna" id="comuna" value="<?php echo e(isset($comuna->comuna)?$comuna->comuna:old('comuna')); ?>" placeholder="Insertar Nombre de Comuna">
    <?php echo $errors->first('comuna', '<div class="invalid-feedback">:message</div>'); ?>

</div>

<div class="form-group">
    <label class="control-label" for="provincia"><?php echo e('Provincia:'); ?></label>
    <input class="form-control <?php echo e($errors->has('provincia')?'is-invalid':''); ?>" type="text" name="provincia" id="provincia" value="<?php echo e(isset($comuna->provincia)?$comuna->provincia:old('provincia')); ?>" placeholder="Insertar Provincia">
    <?php echo $errors->first('provincia', '<div class="invalid-feedback">:message</div>'); ?>

</div>

<div class="form-group">
    <label class="control-label" for="region"><?php echo e('Region:'); ?></label>
    <input class="form-control <?php echo e($errors->has('region')?'is-invalid':''); ?>" type="text" name="region" id="region" value="<?php echo e(isset($comuna->region)?$comuna->region:old('region')); ?>" placeholder="Insertar Region">
    <?php echo $errors->first('region', '<div class="invalid-feedback">:message</div>'); ?>

</div>

<div class="form-group">
    <label class="control-label" for="n_region"><?php echo e('Numero de Region:'); ?></label>
    <input class="form-control <?php echo e($errors->has('n_region')?'is-invalid':''); ?>" type="number" name="n_region" id="n_region" value="<?php echo e(isset($comuna->n_region)?$comuna->n_region:old('n_region')); ?>" min="1" max="40">
    <?php echo $errors->first('n_region', '<div class="invalid-feedback">:message</div>'); ?>

</div>

<a href="<?php echo e(url('/Comunas')); ?>" class="btn btn-primary">Cancelar</a>
<input type="submit" value="<?php echo e($Modo=='crear' ? 'Agregar':'Editar'); ?>" class="btn btn-success"><?php /**PATH C:\xampp\htdocs\Proyectos Laravel\SistemaDigTelRed\resources\views/Comunas/form.blade.php ENDPATH**/ ?>