+class SplitForm(forms.Form):
+ partname = forms.RegexField(regex='[0-9\.\w_-]+', \
+ label='Part name', help_text='Example: rozdziaĆ-2')
+ autoxml = forms.BooleanField(required=False, initial=False, label=u"Split as new publication")
+ fulltext = forms.CharField(widget=forms.HiddenInput(), required=False)
+ splittext = forms.CharField(widget=forms.HiddenInput(), required=False)