+
+class MergeRequestForm(forms.Form):
+ # should the target document revision be updated or shared
+ type = forms.ChoiceField(choices=(('update', 'Update'), ('share', 'Share')) )
+
+ # which revision to update/share
+ target_revision = forms.RegexField('[0-9a-f]{40}')
+
+ # any additional comments that user wants to add to the change
+ message = forms.CharField(required=False)