30 lines
1.1 KiB
Twig
30 lines
1.1 KiB
Twig
<section class="section-widget collections">
|
|
<details class="section-widget-title-details" title="Expand if you want to access more options.">
|
|
<summary class="section-title-summary">
|
|
<h2>{{ctitle}}</h2>
|
|
{{ icon('arrow-down', 'icon icon-details-open') | raw }}
|
|
</summary>
|
|
{% if has_collections %}
|
|
<fieldset class="section-form">
|
|
{{ form(add_form) }}
|
|
</fieldset>
|
|
|
|
<details class="section-widget-subtitle-details section-padding"
|
|
title="Expand if you want to access more options.">
|
|
<summary class="section-subtitle-summary">
|
|
<strong>{% trans %}Other options{% endtrans %}</strong>
|
|
{{ icon('arrow-down', 'icon icon-details-close') | raw }}
|
|
</summary>
|
|
<fieldset class="section-form">
|
|
{{ form(create_form) }}
|
|
</fieldset>
|
|
</details>
|
|
{% else %}
|
|
<fieldset class="section-form">
|
|
{{ form(create_form) }}
|
|
</fieldset>
|
|
{% endif %}
|
|
</details>
|
|
</section>
|
|
|