Eliseu Amaro
ee04571f4d
Widgets shouldn't have a header element from here forward, since their location varies
28 lines
1003 B
Twig
28 lines
1003 B
Twig
<section class="frame-section collections">
|
|
<details class="section-details-title" title="Expand if you want to access more options.">
|
|
<summary class="details-summary-title">
|
|
<span>{{ctitle}}</span>
|
|
</summary>
|
|
{% if has_collections %}
|
|
<section class="section-form">
|
|
{{ form(add_form) }}
|
|
</section>
|
|
|
|
<details class="frame-section-padding section-details-subtitle"
|
|
title="Expand if you want to access more options.">
|
|
<summary class="details-summary-subtitle">
|
|
<strong>{% trans %}Other options{% endtrans %}</strong>
|
|
</summary>
|
|
<section class="section-form">
|
|
{{ form(create_form) }}
|
|
</section>
|
|
</details>
|
|
{% else %}
|
|
<section class="section-form">
|
|
{{ form(create_form) }}
|
|
</section>
|
|
{% endif %}
|
|
</details>
|
|
</section>
|
|
|