Revision a192e19a
Added by Mikaël Ates almost 12 years ago
calebasse/dossiers/forms.py | ||
---|---|---|
357 | 357 |
address = forms.CharField(widget=forms.Textarea(attrs={'rows':5}), required=False) |
358 | 358 |
phone_address = forms.CharField(required=False) |
359 | 359 |
|
360 |
def __init__(self, *args, **kwargs): |
|
361 |
super(GenerateRtfForm, self).__init__(*args, **kwargs) |
|
362 |
self.fields['template_filename'].choices = AvailableRtfTemplates() |
|
363 |
|
|
360 | 364 |
class QuotationsForm(Form): |
361 | 365 |
|
362 | 366 |
def __init__(self, service=None, *args, **kwargs): |
Also available in: Unified diff
Refresh template choices without reloading server.