fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Forgotten deploy step.
[wolnelektury.git]
/
src
/
ajaxable
/
utils.py
diff --git
a/src/ajaxable/utils.py
b/src/ajaxable/utils.py
index
8052e6b
..
82de847
100755
(executable)
--- a/
src/ajaxable/utils.py
+++ b/
src/ajaxable/utils.py
@@
-48,7
+48,7
@@
def require_login(request):
def placeholdized(form):
for field in form.fields.values():
def placeholdized(form):
for field in form.fields.values():
- field.widget.attrs['placeholder'] = field.label
+ field.widget.attrs['placeholder'] = field.label
+ ('*' if field.required else '')
return form
return form