Created
November 11, 2011 23:15
-
-
Save Javlopez/1359634 to your computer and use it in GitHub Desktop.
Login view in backend/login
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title></title> | |
</head> | |
<body> | |
<div> | |
<h2>Iniciar sesión</h2> | |
<?php if(isset($errors['login'])):?> | |
<p style="border:#F00 1px solid;background:#dd0000;color:#fff;width:auto;"> | |
<?php echo $errors['login'] ?> | |
</p> | |
<?php endif; ?> | |
<form action="<?php echo $posturl ?>" method="POST"> | |
<p> | |
<label>Usuario</label> | |
<input type="text" value="" name="username" /> | |
</p> | |
<p> | |
<label>Password</label> | |
<input type="password" value="" name="password" /> | |
</p> | |
<p> | |
<input type="checkbox" name="remember" /> | |
<label>Recordar password</label> | |
<p> | |
<input type="submit" value="Iniciar sesión" name="login" > | |
</p> | |
</form> | |
<p> | |
<a href="<?php echo $registerurl ?>">Registrarse</a> | |
</p> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment