<?php
    $username = array('name' => 'correo', 'placeholder' => 'correo electrónico', 'class' => 'inputGrande');
    $submit = array('name' => 'submit', 'value' => 'Recuperar contraseña', 'title' => 'Recuperar', 'class' => 'boton botonSubmit');
    ?>


<div class="grid_8 push_2 box shadow" id="formulario_login">
    <!-- Banner superior de la ventana -->
    <div class="grid_8 alpha omega" style="height:50px;" >
        <div style="width:95%;height:100%;text-align:right;line-height: 50px; vertical-align:middle;">
            <a href="/index.php/login">Regresar</a>
        </div>
    </div>
    <div class="grid_8 alpha omega">
        <div style="width:100%; height:0px; border:0.5px #aaa solid;"></div>
    </div>
    <!-- Fin banner superior de la ventana -->
    
    <div>
        <img class="imagenLogin imagenBox" />
    </div>
    <div class="grid_6 push_1 alpha" id="campos_login">
        <?=form_open(base_url().'contrasena/solicitaContrasena')?>
        <div style="width:100%">
            <label class="labelFormularioGrande" for="username">Nombre de usuario:</label>
            <?=form_input($username)?><?=form_error('correo', '<div class="notyError">', '</div>')?>
            <?=form_submit($submit)?>
        </div>
        <?=form_close()?>
        <?php
            if($this->session->flashdata('usuario_incorrecto'))
            {
            ?>
        <p><?=$this->session->flashdata('usuario_incorrecto')?></p>
        <?php
            }
            ?>
    </div>
</div>
