<?php
    $password = array('name' => 'password',	'placeholder' => 'introduce tu contraseña actual', 'class' => 'inputGrande');
    $passwordNuevo = array('name' => 'passwordNuevo',	'placeholder' => 'introduce tu contraseña nueva', 'class' => 'inputGrande');
    $passwordNuevo2 = array('name' => 'passwordNuevo2', 'placeholder' => 'repite la contraseña nueva', 'class' => 'inputGrande');
    $submit = array('name' => 'submit', 'value' => 'Cambiar contraseña', 'title' => 'Cambiar contraseña', 'class' => 'boton botonSubmit');
    
    ?>
<div class="container_12">
    <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/main">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().'main/cambiar_contrasena')?>
            <div style="width:100%">
                <label class="labelFormularioGrande" for="password">Introduce tu password:</label>
                <?=form_password($password)?><?=form_error('password', '<div class="notyError">', '</div>')?>
                <label class="labelFormularioGrande" for="passwordNuevo">Contraseña nueva:</label>
                <?=form_password($passwordNuevo)?><?=form_error('passwordNuevo', '<div class="notyError">', '</div>')?>
                <label class="labelFormularioGrande" for="passwordNuevo2">Repetir contraseña nueva:</label>
                <?=form_password($passwordNuevo2)?><?=form_error('passwordNuevo2', '<div class="notyError">', '</div>')?>
                
                <!-- <?=form_hidden('token',$token)?> -->
                <?=form_submit($submit)?>
            </div>
            <?=form_close()?>
            <?php
                if($this->session->flashdata('usuario_incorrecto'))
                {
                ?>
            <p><?=$this->session->flashdata('usuario_incorrecto')?></p>
            <?php
                }
                ?>
        </div>
    </div>
</div>
