form.html
532 Bytes
<div style="width:200px;position:absolute;left:35%;top:30%">
<form method="post" tal:attributes="action login_url">
<input type="hidden" name="send" value="1" />
<p tal:condition="error|" tal:content="error|" style="color:red"></p>
<p><b>логин:</b><br/><input style="width:200px;" type="text" name="login" tal:attributes="value login|" /></p>
<p><b>пароль:</b><br/><input style="width:200px;" type="password" name="pass" /></p>
<p style="text-align:right"><input type="submit" value="Войти"/></p>
</form>
</div>