Commit 1b308289 authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Added section id filter form

parent b4ec5c9f
......@@ -63,3 +63,11 @@ class ReplyForm( ModelForm ):
class FeedbackForm( forms.Form ):
text = forms.CharField(
class CourseSectionFilterForm( forms.Form ):
section = forms.CharField(
widget = forms.TextInput(attrs={
'class': 'form-control',
'placeholder': 'Course Section',
'pattern': '[a-zA-Z]+ {0,1}[0-9]*',
}), max_length = 10)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment