2 <p>[% status_msg | html %]</p>
5 <p class="error">[% error_msg | html %]</p>
8 [% IF form.has_errors %]
9 <p class="error">Some fields had errors:</p>
12 [% FOREACH msg IN form.errors %]
13 <li>[% msg | html %]</li>
18 <form method="post" action="[% c.uri_for_action('/users/login').hostless | html %]" autocomplete="off">
20 <input type="hidden" name="realm" value="openid"/>
21 <input type="hidden" name="openid_identifier" value="https://www.google.com/accounts/o8/id"/>
22 <input type="submit" value="Sign in with Google"/>
26 [% UNLESS c.req.param('realm') == 'openid' %]
27 <form method="post" action="[% c.uri_for_action('/users/login').hostless | html %]" autocomplete="off">
29 <input type="hidden" name="realm" value="default"/>
31 [% form.field('username').render %]
32 [% form.field('password').render %]
33 [% form.field('remember').render %]
35 [% form.field('submit').render %]