<?php $__env->startSection('content'); ?>
    <h1 class="page-title">
        <a href="<?php echo e(url('alumno')); ?>"><i class="icon-action-undo"></i></a>
        Alumnos y Egresados
    </h1>

    <div class="portlet light portlet-fit portlet-datatable bordered" style="padding-top: 2 5px;">
        <div class="portlet-title">
            <div class="caption">
                <span class="caption-subject font-green sbold uppercase"> Editar Alumno </span>
            </div>
        </div>
        <div class="portlet-body">
            <?php echo $__env->make('alerts.index', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
            <?php echo e(Form::model($Usuario, array('route' => array('alumno.actualizar', $Usuario->idAlumno), 'id'=>'frmEditUsuario', 'method' => 'POST', 'enctype' =>'multipart/form-data'))); ?>

            <div class="form-horizontal">
                <div class="form-group hidden">
                    <?php echo Form::label('id', 'id:', ['class' => 'control-label']); ?>

                    <?php echo Form::text('id', null, ['class' => 'form-control','required'=>'required']); ?>

                </div>
                <div class="row">
                    <div class="col-lg-12">
                        <div class="form-group col-lg-6 col-xs-6" style="margin-right: 10px;">
                            <?php echo Form::label('password', 'Contraseña:', ['class' => 'control-label']); ?>

                            <?php echo Form::text('password', null, ['class' => 'form-control']); ?>

                        </div>
                        <div class="form-group col-lg-6 col-xs-6" style="margin-right: 10px;">
                            <?php echo Form::label('estado_civil', 'Estado Civil:', ['class' => 'control-label']); ?>

                            <?php echo Form::select('estado_civil', config('constants.ESTADO_CIVIL'),null, ['class' => 'form-control','required'=>'required']); ?>

                        </div>
                        <div class="form-group col-lg-6 col-xs-6" style="margin-right: 10px;">
                            <?php echo Form::label('email', 'Correo Electronico:', ['class' => 'control-label']); ?>

                            <?php echo Form::text('email', null, ['class' => 'form-control','required'=>'required']); ?>

                        </div>
                        <div class="form-group col-lg-6 col-xs-6" style="margin-right: 10px;">
                            <?php echo Form::label('telefono', 'Telefono:', ['class' => 'control-label']); ?>

                            <?php echo Form::text('telefono', null, ['class' => 'form-control','required'=>'required']); ?>

                        </div>
                        <div class="form-group col-lg-6 col-xs-6" style="margin-right: 10px;">
                            <?php echo Form::label('direccion', 'Direccion:', ['class' => 'control-label']); ?>

                            <?php echo Form::text('direccion', null, ['class' => 'form-control','required'=>'required']); ?>

                        </div>
                        <div class="form-group col-lg-12 col-xs-12">
                            <label class="control-label col-md-3" style="text-align: left !important">Imagen</label>
                            <div class="col-md-9">
                                <div class="fileinput fileinput-new" data-provides="fileinput">
                                    <div class="fileinput-preview thumbnail" data-trigger="fileinput" style="width: 200px; height: 150px;">
                                        <img src="<?php echo e(asset($Usuario->urlimagen)); ?>"/>
                                    </div>
                                    <div>
                                        <span class="btn red btn-outline btn-file">
                                            <span class="fileinput-new"> Seleccionar imagen </span>
                                            <span class="fileinput-exists"> Cambiar </span>
                                            <?php echo Form::file('pathimagen', null ); ?>

                                        </span>
                                        <a href="javascript:;" class="btn red fileinput-exists" data-dismiss="fileinput"> Eliminar </a>
                                    </div>
                                </div>
                            </div>

                        </div>
                    </div>
                </div>
                <div class="form-actions" style="text-align: center; padding-top: 50px;">
                    <a class="btn dark btn-outline" href="<?php echo e(url('alumno')); ?>">Cancelar</a>
                    <?php echo Form::submit('Guardar', ['class' => 'btn green']); ?>

                </div>
            </div>
            <?php echo Form::close(); ?>

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

<?php $__env->startSection('scripts'); ?>
    <script>

    </script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('template.layout', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>