mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-03-20 04:38:07 +00:00
42 lines
1.7 KiB
Twig
42 lines
1.7 KiB
Twig
<div class="border border-warning">
|
|
<div class="alert alert-warning alert-with-actions mb-0">
|
|
<div class="message">
|
|
{{ 'Some peoples does not belong to any household currently. Add them to an household soon'|trans }}
|
|
</div>
|
|
<ul class="record_actions">
|
|
<li>
|
|
<button class="btn btn-chill-beige" data-bs-toggle="collapse" href="#withoutHouseholdList">
|
|
<i class="fa fa-fw fa-caret-down"></i><span class="">{{ 'Add to household now'|trans }}</span>
|
|
</button>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div id="withoutHouseholdList" class="collapse p-3">
|
|
<form method="GET"
|
|
action="{{ path('chill_person_household_members_editor') }}">
|
|
|
|
<h3>{{ 'household.Select people to move'|trans }}</h3>
|
|
<ul>
|
|
{% for p in withoutHousehold %}
|
|
<li>
|
|
<input type="checkbox" name="persons[]" value="{{ p.id }}" checked />
|
|
{{ p|chill_entity_render_box }}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
|
|
<input type="hidden" name="expand_suggestions" value="true" />
|
|
<input type="hidden" name="returnPath" value="{{ app.request.requestUri|escape('html_attr') }}" />
|
|
<input type="hidden" name="accompanying_period_id" value="{{ accompanyingCourse.id }}" />
|
|
<ul class="record_actions mb-0">
|
|
<li>
|
|
<button type="submit" class="btn btn-edit">
|
|
{{ 'household.Household editor'|trans }}
|
|
</button>
|
|
</li>
|
|
</ul>
|
|
</form>
|
|
</div>
|
|
</div>
|