##// END OF EJS Templates
Added asterisk to required field in forms
neko259 -
r1654:30740dfa default
parent child Browse files
Show More
@@ -109,6 +109,7 b' class NeboardForm(forms.Form):'
109 """
109 """
110 Form with neboard-specific formatting.
110 Form with neboard-specific formatting.
111 """
111 """
112 required_css_class = 'required-field'
112
113
113 def as_div(self):
114 def as_div(self):
114 """
115 """
@@ -160,3 +160,7 b' textarea, input {'
160 cursor: pointer;
160 cursor: pointer;
161 z-index: 400;
161 z-index: 400;
162 }
162 }
163
164 .required-field:before {
165 content: '* ';
166 }
General Comments 0
You need to be logged in to leave comments. Login now