/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. <p>${_('''The OpenID URL you used (<b>%s</b>) was not found
  7. in our database. If you would like to associate this OpenID URL with
  8. an existing account so that you can use this OpenID URL to login with
  9. in the future, proceed below.''' % c.openid)}</p>
  10. <p>${_('If you would like to register with PylonsHQ instead,')}
  11. ${h.link_to(_('continue on to the registration page'), url=url('openid_register'))}.
  12. ${login_form.display(action=url('openid_associate')) | n}
  13. </div>
  14. <%def name="title()">${parent.title()} - ${_('Associate OpenID Account')}</%def>
  15. <%inherit file="../layout.mako" />