Skip to content

Commit

Permalink
cove_rdls/forms.py: Hide sample mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Ed (ODSC) committed Sep 4, 2023
1 parent 9d98b31 commit c2a1f61
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cove_rdls/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ class NewUploadForm(forms.Form):
),
label="",
)
sample_mode = forms.BooleanField(label="Process using Sample mode (see information above)", required=False)
sample_mode = forms.BooleanField(label="Process using Sample mode (see information above)", required=False, widget=forms.HiddenInput())


class NewTextForm(forms.Form):
file_field_names = []
paste = forms.CharField(label="Paste (JSON only)", widget=forms.Textarea)
sample_mode = forms.BooleanField(label="Process using Sample mode (see information above)", required=False)
sample_mode = forms.BooleanField(label="Process using Sample mode (see information above)", required=False, widget=forms.HiddenInput())


class NewURLForm(forms.Form):
file_field_names = []
url = forms.URLField(label="URL")
sample_mode = forms.BooleanField(label="Process using Sample mode (see information above)", required=False)
sample_mode = forms.BooleanField(label="Process using Sample mode (see information above)", required=False, widget=forms.HiddenInput())

0 comments on commit c2a1f61

Please sign in to comment.