mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-28 13:06:13 +00:00
41 lines
1.6 KiB
Twig
41 lines
1.6 KiB
Twig
<div class="border border-danger">
|
|
<div class="alert alert-danger 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-pink" data-bs-toggle="collapse" href="#withoutHouseholdList">
|
|
<i class="fa fa-fw fa-caret-down"></i><span class="text-light">{{ 'Add to household now'|trans }}</span>
|
|
</button>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div id="withoutHouseholdList" class="collapse p-3">
|
|
<form method="GET"
|
|
action="{{ chill_path_add_return_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="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>
|