fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add command to clean social accounts from unnecessary data
[wolnelektury.git]
/
src
/
ajaxable
/
utils.py
diff --git
a/src/ajaxable/utils.py
b/src/ajaxable/utils.py
index
9fd0091
..
80d398f
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():
- field.widget.attrs['placeholder'] = field.label
+ field.widget.attrs['placeholder'] = field.label
+ ('*' if field.required else '')
return form