[FIX] auth_oauth_signup: handle the case when there is no providers
bzr revid: chs@openerp.com-20140207184829-qdy0jbx5pku1z072
This commit is contained in:
parent
38b7c38e32
commit
0b831e4df0
|
@ -5,7 +5,7 @@
|
|||
<template id="auth_oauth_signup.signup" inherit_id="auth_signup.signup" name="OAuth Signup buttons">
|
||||
<xpath expr="//button[@type='submit']" position="before">
|
||||
<div class="pull-right">
|
||||
<div t-foreach="providers" t-as="p">
|
||||
<div t-foreach="providers or []" t-as="p">
|
||||
<a t-att-href="p['auth_link']" class="btn btn-link">
|
||||
<i t-att-class="p['css_class']"/>
|
||||
<t t-esc="p['body']"/>
|
||||
|
|
Loading…
Reference in New Issue