gnu-social/components/Collection/templates/collection/widget_add_to.html.twig

28 lines
999 B
Twig
Raw Normal View History

<section class="frame-section collections">
<details class="section-details-title" title="Expand if you want to access more options.">
<summary class="details-title-summary">
<h2>{{ctitle}}</h2>
</summary>
{% if has_collections %}
<section class="section-form">
{{ form(add_form) }}
</section>
<details class="section-details-subtitle frame-section-padding"
title="Expand if you want to access more options.">
<summary class="details-subtitle-summary">
<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>