view sat_templates/templates/bulma/list/create.html @ 325:8c779fb46384

bulma (components/block): interests_grid is more customisable: - new `delete_icon` argument can be set to `false` if delete icon is not desired - the macro can now be called, the caller then get 2 arguments: part to customise and current interest. Part to customise can be: * `header-title`: markup to put in the title * `content`: car content (replaces the default `interest.name`)
author Goffi <goffi@goffi.org>
date Sat, 01 May 2021 18:44:47 +0200
parents 877f01720036
children
line wrap: on
line source

{% extends 'base/base.html' %}
{% import 'components/block.html' as block with context %}

{% block body %}
{{ icon_defs(*icons_names) }}
<section class="section">
    <article class="message has-text-centered">
      <div class="message-body">
        {% trans %}
        Please select the type of list that you want to create
        {% endtrans %}
      </div>
    </article>
    <div class="columns">
        {% for tpl in lists_templates %}
            {{ block.icon_item(tpl.icon, tpl.name, tpl.url) }}
        {% endfor %}
    </div>
</section>
{% endblock body %}