<?php $__env->startSection('css'); ?>
<?php echo HTML::style('css/back/panel.css'); ?>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('body'); ?>
<?php echo HTML::script('js/back/custom.js'); ?>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
<h3>Añadir Categoría.</h3>
<hr>
<div class="col-md-12">
   <h4>Datos Nuevos</h4>
   <?php echo Form::open(array('route'=>'panel/social/cat/add', 'method'=>'POST', 'files'=>true)); ?>

      <div class="form-group">
         <label class="control-label" for="name">Nombre</label>
         <input type="text" class="form-control" name="name" id="name" value="<?php echo e(Request::old('name')); ?>" >
      </div>
      <div class="form-group">
         <label class="control-label" for="alias">Alias (Se rellena automáticamente al escribir en el campo nombre)</label>
         <input type="text" readonly="true" class="form-control" name="alias" id="alias" value="<?php echo e(Request::old('alias')); ?>" >
      </div>
      <div class="form-group">
         <label class="control-label" for="image">Imagen</label>
         <input type="file" class="form-control" name="image" id="image">
      </div>
      <button type="submit" class="btn btn-default">Aceptar</button>
   </form>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('scripts'); ?>
   <?php echo Minify::javascript('/js/back/form.js')->withFullUrl(); ?>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.backBase', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>