fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use html5 placeholder and hide labels,
[wolnelektury.git]
/
apps
/
ajaxable
/
templates
/
ajaxable
/
form.html
diff --git
a/apps/ajaxable/templates/ajaxable/form.html
b/apps/ajaxable/templates/ajaxable/form.html
index
1658b9b
..
84e86e1
100755
(executable)
--- a/
apps/ajaxable/templates/ajaxable/form.html
+++ b/
apps/ajaxable/templates/ajaxable/form.html
@@
-1,7
+1,8
@@
{% load i18n %}
<h1>{{ title }}</h1>
{% 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 }}
<ol>
<div id="id_{% if form_prefix %}{{ form_prefix }}-{% endif %}__all__"></div>
{{ form.as_ul }}