Mercurial > libervia-templates
annotate default/input/form.html @ 29:494d740aa3d6
static/css.js: added clicked_cls function:
this function toggle "clicked" class on each click, and remove "init" class on first click. Useful to make CSS react easily on clicks.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 24 Jun 2017 20:25:39 +0200 |
parents | 8b5615a1bf3d |
children | eb9a42fca6c8 |
rev | line source |
---|---|
10
8b5615a1bf3d
articles, input: use new embedding mechanism in articles + new macros to build forms and inputs
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
1 {% macro form(action='') %} |
8b5615a1bf3d
articles, input: use new embedding mechanism in articles + new macros to build forms and inputs
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
2 <form method="post" action="{{action}}"> |
8b5615a1bf3d
articles, input: use new embedding mechanism in articles + new macros to build forms and inputs
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
3 {{ caller() }} |
8b5615a1bf3d
articles, input: use new embedding mechanism in articles + new macros to build forms and inputs
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
4 </form> |
8b5615a1bf3d
articles, input: use new embedding mechanism in articles + new macros to build forms and inputs
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
5 {% endmacro %} |