|
|
|
|
@ -473,12 +473,11 @@ class EmailProfileForm(forms.Form): |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class LicenseForm(forms.Form): |
|
|
|
|
"""Форма продления лицензии |
|
|
|
|
"""Форма продления лицензии. |
|
|
|
|
""" |
|
|
|
|
term = forms.ModelChoiceField(queryset=models.LicensePrice.objects.all(), |
|
|
|
|
widget=forms.RadioSelect, label=u'Срок лицензии', empty_label = None) |
|
|
|
|
payform = forms.ChoiceField(choices=consts.PAYFORMS[1:], widget=forms.RadioSelect, |
|
|
|
|
label=u'Форма оплаты') |
|
|
|
|
term = forms.ModelChoiceField(label=u'Срок лицензии', queryset=models.LicensePrice.objects.all(), |
|
|
|
|
widget=forms.RadioSelect, empty_label = None) |
|
|
|
|
payform = forms.ChoiceField(label=u'Форма оплаты', choices=consts.LICENSEFORM_PAYFORMS, widget=forms.RadioSelect) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class YaForm(PaymentForm): |
|
|
|
|
|