diff --git a/boards/forms.py b/boards/forms.py --- a/boards/forms.py +++ b/boards/forms.py @@ -109,6 +109,7 @@ class NeboardForm(forms.Form): """ Form with neboard-specific formatting. """ + required_css_class = 'required-field' def as_div(self): """ diff --git a/boards/static/css/base.css b/boards/static/css/base.css --- a/boards/static/css/base.css +++ b/boards/static/css/base.css @@ -160,3 +160,7 @@ textarea, input { cursor: pointer; z-index: 400; } + +.required-field:before { + content: '* '; +}