<div class="modal fade" id="CrearCategoria" tabindex="-1" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                <h4 class="modal-title caption-subject font-blue-secondary sbold uppercase">Editar Categor&iacute;a del Foro</h4>
            </div>
            <div class="modal-body">
                {{ Form::model($categoria,array('id' => 'form-validation','route' => array('categoriaforo.editar', $categoria->id), 'class'=>'form-horizontal')) }}
                <div class="form-body">
                    <div class="form-group hide">
                        {!! Form::text('id', null, array('placeholder' => 'id','class' => 'form-control')) !!}
                    </div>
                    <div class="form-group">
                        <label class="control-label col-md-2" for="nombre"> Nombre </label>
                        <div class="col-md-10">{!! Form::text('nombre', null, array('placeholder' => '','class' => 'form-control', 'required' => 'required', 'maxlength' => '12')) !!}</div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-md-2" for="descripcion"> Descripci&oacute;n </label>
                        <div class="col-md-10">{!! Form::text('descripcion', null, array('placeholder' => '','class' => 'form-control', 'required' => 'required', 'maxlength' => '50')) !!}</div>
                    </div>

                    <div class="form-actions">
                        <div class="row">
                            <div class="col-md-offset-2 col-md-10">
                                <button type="button" class="btn btn-default" data-dismiss="modal">Cancelar</button>
                                <button type="submit" class="btn btn-primary mt-ladda-btn ladda-button" data-style="slide-down">
                                    <span class="ladda-label">Guardar</span>
                                    <span class="ladda-spinner"></span>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                {!! Form::close() !!}

            </div>
        </div>
    </div>
</div>
<script>
    $("#form-validation").validate();
</script>