| | 14 | # preferences |
| | 15 | |
| | 16 | from django import newforms as forms |
| | 17 | from django.utils.translation import ugettext as _ |
| | 18 | |
| | 19 | class PreferencesForm(forms.Form): |
| | 20 | print_last_page = forms.BooleanField( |
| | 21 | initial = True, |
| | 22 | help_text = _( |
| | 23 | "If checked the actual page will be the last page in the bar." |
| | 24 | " Otherwise the parentpage." |
| | 25 | ), |
| | 26 | ) |
| | 27 | print_index = forms.BooleanField( |
| | 28 | initial = True, |
| | 29 | help_text = _('If checked display a link to the index ("/")'), |
| | 30 | ) |
| | 31 | index = forms.CharField( |
| | 32 | initial = _("Index"), |
| | 33 | help_text = _('the name that is printed for the indexpage'), |
| | 34 | ) |
| | 35 | |
| | 36 | #_____________________________________________________________________________ |