comparison sat_website/forms.py @ 55:a1e457ac6871

split adhesion.html between adhesion.html and association.html
author souliane <souliane@mailoo.org>
date Tue, 05 May 2015 15:02:50 +0200
parents 62c23067e86e
children bfa8009f0769
comparison
equal deleted inserted replaced
54:d54f2f09a73a 55:a1e457ac6871
94 94
95 section_3 = Section(label=_(u'Subscription')) 95 section_3 = Section(label=_(u'Subscription'))
96 subscription_amount = ChoiceField(choices=[(amount, u"%s €" % amount) for amount in utils.get_asso_subscr_amounts()]) 96 subscription_amount = ChoiceField(choices=[(amount, u"%s €" % amount) for amount in utils.get_asso_subscr_amounts()])
97 97
98 section_3b = Section(label="") 98 section_3b = Section(label="")
99 payment_method = ChoiceField(choices=[(u"card", _(u"Credit or debit card")), (u"transfer", _(u"Bank transfer"))], 99 payment_method = ChoiceField(choices=[(u"transfer", _(u"Bank transfer")), (u"card", _(u"Credit or debit card"))],
100 help_text=_(u'Choose "Credit or debit card" to pay via CB, Visa or Mastercard using a secure banking service. Choose "Bank transfer" to proceed manually with the association\'s IBAN/BIC numbers. For both methods, we will first send you an email containing all the details.'), widget=forms.RadioSelect) 100 help_text=_(u'Choose "Bank transfer" to proceed manually with the association\'s IBAN/BIC numbers. Choose "Credit or debit card" to pay via CB, Visa or Mastercard using a secure banking service. For both methods, we will first send you an email containing all the details.'), widget=forms.RadioSelect)
101 101
102 section_5 = Section(label=_(u'Reference')) 102 section_5 = Section(label=_(u'Reference'))
103 ref = CharField(required=False, label=_(u"Reference"), placeholder=_(u"Adherent number in case of a renewal")) 103 ref = CharField(required=False, label=_(u"Reference"), placeholder=_(u"Adherent number in case of a renewal"))
104 104
105 section_6 = Section(label=_(u'Comment')) 105 section_6 = Section(label=_(u'Comment'))