| 1 | {% extends 'base/base.html' %} |
| 2 | {% import 'input/form.html' as form with context %} |
| 3 | {% import 'input/field.html' as field with context %} |
| 4 | |
| 5 | {% block body %} |
| 6 | {{ icon_defs(list_template.icon) }} |
| 7 | <section class="section"> |
| 8 | <article class="message is-info"> |
| 9 | <div class="message-body"> |
| 10 | {% trans list_type=list_template.name %} |
| 11 | You're about to create a new list ({{list_type}}). |
| 12 | {% endtrans %} |
| 13 | </div> |
| 14 | </article> |
| 15 | {% call form.form(class="form--paper form__panel--vertical") %} |
| 16 | {{ field.text("name", _("name of the list"), required=true) }} |
| 17 | <div class="box"> |
| 18 | <label class="label"> |
| 19 | {% trans %}Is this list private or public?{% endtrans %} |
| 20 | </label> |
| 21 | <div class="message"> |
| 22 | <div class="message-body is-dark has-whitespace-pre-line"> |
| 23 | {%- trans notrimmed -%} |
| 24 | Private lists are only visible by yourself (and people you invite later). |
| 25 | Public lists can be accessed by anybody. |
| 26 | {%- endtrans -%} |
| 27 | </div> |
| 28 | </div> |
| 29 | {{ field.choices("access", (("private", _("private")), ("public", _("public"))), checked="private") }} |
| 30 | </div> |
| 31 | {{ field.submit(_("Create list")) }} |
| 32 | {% endcall %} |
| 33 | </section> |
| 34 | {% endblock body %} |