X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6e3e08e5354baaf82f7d46cbd88883e4c7426dce..36fe056c9c23f0843f1d391b100b7f622ccd4ef7:/src/ajaxable/utils.py?ds=inline diff --git a/src/ajaxable/utils.py b/src/ajaxable/utils.py index 8052e6ba6..82de84771 100755 --- 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