Created
September 4, 2013 17:35
-
-
Save gideondsouza/6440177 to your computer and use it in GitHub Desktop.
login.tt from the cookbook.pod example
This file contains hidden or 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
<html> | |
<head> | |
<title>Session and log</title> | |
</head> | |
<body> | |
<form action='/login' method='POST'> | |
User Name : <input type='text' name='user'/> | |
Password: <input type='password' name='pass' /> | |
<input type='hidden' name='path' value='[% path %]'/> | |
<input type='submit' value='Login' /> | |
</form> | |
[% IF failed %] | |
<p>login failed</p> | |
[% END %] | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment