diff options
author | luxagraf <sng@luxagraf.net> | 2018-06-04 20:27:23 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2018-06-04 20:27:23 -0500 |
commit | 5a3d3d2e9d2ab67218144f7c2e35d70f47f9ad93 (patch) | |
tree | e57821443383b158e640d7afc8c2b40375c5c3cb /app/jrnl/templates/horizontal_select.html | |
parent | 8f4bbcbc391f318adb6eca5c538add126811feee (diff) |
converted jrnl entry to use image for featured image
Diffstat (limited to 'app/jrnl/templates/horizontal_select.html')
-rw-r--r-- | app/jrnl/templates/horizontal_select.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app/jrnl/templates/horizontal_select.html b/app/jrnl/templates/horizontal_select.html new file mode 100644 index 0000000..4b0a2a1 --- /dev/null +++ b/app/jrnl/templates/horizontal_select.html @@ -0,0 +1,17 @@ +{% with id=widget.attrs.id %} + <ul{% if id %} id="{{ id }}"{% endif %}{% if widget.attrs.class %} class="{{ widget.attrs.class }}"{% endif %}> + {% for group, options, index in widget.optgroups %} + {% if group %} + <li>{{ group }} + <ul{% if id %} id="{{ id }}_{{ index }}"{% endif %}> + {% endif %} + {% for option in options %} + <li data-imageid="{{option.value}}">{% include option.template_name with widget=option %}</li> + {% endfor %} + {% if group %} + </ul> + </li> + {% endif %} + {% endfor %} + </ul> +{% endwith %} |