-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle employee record creation while user is filtering
- Loading branch information
1 parent
6900e0f
commit 1fac86f
Showing
3 changed files
with
24 additions
and
23 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
itou/templates/employee_record/includes/list_form_fields.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{% load django_bootstrap5 %} | ||
{% load list_filters %} | ||
<div id="employee-records-list-filters" class="c-aside-filters__card__body"{% if request.htmx %} hx-swap-oob="true"{% endif %}> | ||
<fieldset> | ||
<legend>Statut</legend> | ||
<div class="form-group"> | ||
{% for status, badge in form.status|zip:badges %} | ||
<div class="d-flex mb-2"> | ||
<div class="flex-grow-1">{{ status }}</div> | ||
<div> | ||
<span class="badge rounded-pill badge-xs {{ badge.1 }}">{{ badge.0 }}</span> | ||
</div> | ||
</div> | ||
{% endfor %} | ||
</div> | ||
</fieldset> | ||
<fieldset> | ||
<legend>Par candidat</legend> | ||
{% bootstrap_field filters_form.job_seekers show_label=False %} | ||
</fieldset> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters