<?php
    $username = array('name' => 'correo', 'placeholder' => 'correo electrónico', 'class' => 'inputGrande');
    $password = array('name' => 'password',	'placeholder' => 'introduce tu password', 'class' => 'inputGrande');
    $submit = array('name' => 'submit', 'value' => 'Iniciar sesión', 'title' => 'Iniciar sesión', 'class' => 'boton botonSubmit');
    ?>


<div class="grid_8 push_2 box shadow" id="formulario_login">
    <div>
        <img class="imagenLogin imagenBox" />
    </div>
    <div class="grid_6 push_1 alpha" id="campos_login">
        <?=form_open(base_url().'login/new_user')?>
        <div style="width:100%">
            <label class="labelFormularioGrande" for="username">Usuario:</label>
            <?=form_input($username)?><?=form_error('correo', '<div class="notyError">', '</div>')?>
            <label class="labelFormularioGrande" for="password">Introduce tu password:</label>
            <?=form_password($password)?><?=form_error('password', '<div class="notyError">', '</div>')?>
            <?=form_hidden('token',$token)?>
            <?=form_submit($submit)?>
            <a href="/index.php/contrasena/solicitarContrasena">Olvidaste tu contraseña oprime aquí.</a>
        </div>
        <?=form_close()?>
    </div>
</div>
