-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathforms.py
19 lines (18 loc) · 1.54 KB
/
forms.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from django import forms
class ArchiveAdminForm(forms.Form):
journal_archive_enabled = forms.BooleanField(required=False,
label='Journal Archiving',
help_text='Turn on or off automatic archiving of articles in this journal, and link to journal archives from browse page.')
article_archive_enabled = forms.BooleanField(required=False,
label='Article Archiving',
help_text='Turn on or off link when viewing articles to see their version history.')
edit_article_enabled = forms.BooleanField(required=False,
label='Article Editing',
help_text='Toggle button for authors to update a published article they submitted, and for editors to request that a published article be updated.')
request_email_template = forms.CharField(required=True, max_length=500,
label='Email template',
help_text='Template for email sent to author when an editor requests an update.',
widget=forms.Textarea)
archive_search_filter_enabled = forms.BooleanField(required=False,
label='Search Filtering',
help_text='Toggle search filtering to suppress old versions of articles')