File: /home/cursos.ril.es/storage/framework/views/fbbb93e1517f7aa251c6c36c1bb366eafd5b44f4.php
<?php $__env->startSection('header'); ?>
@parent
<title>Editar datos</title>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('pagina'); ?>
<div class="padd-long"></div>
<div class="col-xs-12 col-sm-offset-1 col-sm-10 col-md-offset-2 col-md-8">
<?php echo Form::open(array('url' => '/mi-cuenta/update', 'files' => true, 'method' => 'put')); ?>
<h3>Datos básicos</h3>
<div class="form-group">
<label for="name">Nombre</label>
<input type="text" name="name" class="form-control" id="name" placeholder="name" value="<?php echo e(Auth::user()->name); ?>"/>
<?php if($errors->has('name')): ?> <p class="help-block"><?php echo e($errors->first('Nombre')); ?></p> <?php endif; ?>
</div>
<div class="form-group">
<label for="apellidos">Apellidos</label>
<input type="text" name="apellidos" class="form-control" id="apellidos" placeholder="apellidos" value="<?php echo e(Auth::user()->apellidos); ?>"/>
<?php if($errors->has('apellidos')): ?> <p class="help-block"><?php echo e($errors->first('Apellidos')); ?></p> <?php endif; ?>
</div>
<div class="form-group">
<label for="email">Email</label>
<input type="text" name="email" class="form-control" id="email" placeholder="Email" value="<?php echo e(Auth::user()->email); ?>"/>
<?php if($errors->has('email')): ?> <p class="help-block"><?php echo e($errors->first('email')); ?></p> <?php endif; ?>
</div>
<div class="form-group">
<label for="telefono">Teléfono</label>
<input type="text" name="telefono" class="form-control" id="telefono" placeholder="Teléfono" value="<?php echo e(Auth::user()->telefono); ?>"/>
<?php if($errors->has('telefono')): ?> <p class="help-block"><?php echo e($errors->first('telefono')); ?></p> <?php endif; ?>
</div>
<div class="form-group">
<label for="telefono">Password</label>
<input type="password" name="password" class="form-control" id="password" value="<?php echo e(Auth::user()->password); ?>"/>
<?php if($errors->has('password')): ?> <p class="help-block"><?php echo e($errors->first('password')); ?></p> <?php endif; ?>
</div>
<div class="form-group">
<label for="telefono">Confirmar password</label>
<input type="password" name="password_confirmation" class="form-control" id="password_confirmation" value="<?php echo e(Auth::user()->password); ?>"/>
<?php if($errors->has('password_confirmation')): ?> <p class="help-block"><?php echo e($errors->first('password_confirmation')); ?></p> <?php endif; ?>
</div>
<h3>Datos Opcionales</h3>
<div class="form-group">
<label for="camara">Cámara</label>
<input type="text" name="camara" class="form-control" id="camara" placeholder="Cámara" value="<?php echo e(Auth::user()->camara); ?>"/>
<?php if($errors->has('camara')): ?> <p class="help-block"><?php echo e($errors->first('camara')); ?></p> <?php endif; ?>
</div>
<div class="form-group">
<label for="avatar">Avatar</label>
<img src="<?php echo e(Auth::user()->avatar); ?>" class="img img-responsive" style="max-width: 250px;"/>
<input type="file" name="avatar" id="avatar" value="" />
</div>
<hr />
<div>
<button type="submit" class="btn btn-lg btn-comprar">Enviar</button>
</div>
<?php echo Form::close(); ?>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.pagina', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>