{% endif %}
{% if type is defined and type == 'checkbox' %}
<div class="ui toggle{% if checked is defined and checked == true %} checked{% endif %} right aligned checkbox">
- {% else %}
+ {% elseif nolabel is not defined or nolabel != true %}
{% block label %}
- {% if label is defined %}
<label for="{{ id }}"{% if title is defined %} title="{{ title }}"{% endif %}{% if labelclass is defined %} class="{% if labelclass is defined %}{{ labelclass }}{% endif %}"{% endif %}>
{% if masschange ?? false %}
{# Add a checkbox for fields to change on mass edition #}
{% endif %}
{{ label }}
</label>
- {% endif %}
{% endblock %}
{% endif %}
{% if type is defined and type == 'password' %}
{% include "components/forms/select.html.twig" with {
id: 'cotis_extension',
value: constant("Galette\\Entity\\ContributionsTypes::DEFAULT_TYPE"),
- values: cotisextensions
+ values: cotisextensions,
+ nolabel: true
} %}
</td>
<td class="center actions_row">