gnu-social/components/Collection/templates/collection/widget_add_to.html.twig
2022-01-12 16:07:28 +00:00

28 lines
1014 B
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>
</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>
</summary>
<fieldset class="section-form">
{{ form(create_form) }}
</fieldset>
</details>
{% else %}
<fieldset class="section-form">
{{ form(create_form) }}
</fieldset>
{% endif %}
</details>
</section>