use html5 placeholder and hide labels,
[wolnelektury.git] / apps / ajaxable / templates / ajaxable / form.html
index 1658b9b..84e86e1 100755 (executable)
@@ -1,7 +1,8 @@
 {% load i18n %}
 <h1>{{ title }}</h1>
 
-<form action="{{ request.get_full_path }}" method="post" accept-charset="utf-8" class="cuteform">
+<form action="{{ request.get_full_path }}" method="post" accept-charset="utf-8"
+       class="cuteform{% if placeholdize %} hidelabels{% endif %}">
 <ol>
     <div id="id_{% if form_prefix %}{{ form_prefix }}-{% endif %}__all__"></div>
     {{ form.as_ul }}