##// END OF EJS Templates
bugfix, when form is crashing, form_result is unaccesibble
bugfix, when form is crashing, form_result is unaccesibble

File last commit:

r298:15e96b5a default
r336:871c0dd1 default
Show More
login.html
38 lines | 973 B | text/html | HtmlLexer
fixed menu in home page, and added login html with forms that validates username and password.
r186 ## -*- coding: utf-8 -*-
<%inherit file="base/base.html"/>
<%def name="title()">
${c.repos_prefix} Mercurial Repositories
</%def>
<%def name="breadcrumbs()">
${c.repos_prefix} Mercurial Repositories
</%def>
<%def name="page_nav()">
autocomplete for repository managment of users
r298 &nbsp;
</div>
fixed menu in home page, and added login html with forms that validates username and password.
r186 </%def>
<%def name="main()">
<div>
<br />
autocomplete for repository managment of users
r298 <h2>${_('Login to hg app')}</h2>
fixed menu in home page, and added login html with forms that validates username and password.
r186 ${h.form(h.url.current())}
<table>
<tr>
<td>${_('Username')}</td>
<td>${h.text('username')}</td>
Rewrite of user managment, improved forms, added some user info
r238 <td>${self.get_form_error('username')}</td>
fixed menu in home page, and added login html with forms that validates username and password.
r186 </tr>
<tr>
<td>${_('Password')}</td>
<td>${h.password('password')}</td>
<td>${self.get_form_error('password')}</td>
</tr>
<tr>
<td></td>
<td>${h.submit('login','login')}</td>
</tr>
</table>
${h.end_form()}
</div>
</%def>