PageRenderTime 181ms CodeModel.GetById 120ms app.highlight 1ms RepoModel.GetById 40ms app.codeStats 0ms

/kai/templates/accounts/associate.mako

https://bitbucket.org/bbangert/kai/
Mako | 18 lines | 15 code | 3 blank | 0 comment | 2 complexity | 9d0aa2608dcba9f58fe6b11686d35757 MD5 | raw file
 1<%!
 2    from kai.model.forms import login_form
 3%>
 4<div class="yui-b content">
 5    <h1>${_('OpenID Association')}</h1>
 6    
 7    <p>${_('''The OpenID URL you used (<b>%s</b>) was not found
 8        in our database. If you would like to associate this OpenID URL with
 9        an existing account so that you can use this OpenID URL to login with
10        in the future, proceed below.''' % c.openid)}</p>
11    
12    <p>${_('If you would like to register with PylonsHQ instead,')}
13        ${h.link_to(_('continue on to the registration page'), url=url('openid_register'))}.
14    
15    ${login_form.display(action=url('openid_associate')) | n}
16</div>
17<%def name="title()">${parent.title()} - ${_('Associate OpenID Account')}</%def>
18<%inherit file="../layout.mako" />