Mercurial > libervia-templates
annotate default/blog/articles.html @ 58:4347910cc594
input(xmlui): added attributes argument to create:
specific attributes can be used of named widget (for some widget converted to <input> only so far).
The argument is a dict from widget name to a sub dict containing the keyword arguments.
The next dict_ext filter is used.
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 09 Nov 2017 08:05:23 +0100 |
parents | f19e9f5e43b0 |
children | 650f3456f80d |
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:
8
diff
changeset
|
1 {% if not embedded %}{% extends 'base/base.html' %}{% endif %} |
49
f19e9f5e43b0
blog: moved items rendering to a macro + handle new date filter + handle identities
Goffi <goffi@goffi.org>
parents:
43
diff
changeset
|
2 {% set dates_format='relative' %} |
f19e9f5e43b0
blog: moved items rendering to a macro + handle new date filter + handle identities
Goffi <goffi@goffi.org>
parents:
43
diff
changeset
|
3 {% import 'blog/macros.html' as blog with context %} |
0 | 4 |
5 {% block body %} | |
6 <div id="blog_items"> | |
49
f19e9f5e43b0
blog: moved items rendering to a macro + handle new date filter + handle identities
Goffi <goffi@goffi.org>
parents:
43
diff
changeset
|
7 {{ blog.show_items(items) }} |
0 | 8 </div> |
9 {% endblock body %} |