Feat: Add assignment filtering for teamers
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
{% block title %}Einsatzübersicht{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1 class="text-2xl font-bold pb-8">
|
||||
<h1 class="text-2xl font-bold pb-4">
|
||||
Einsatzübersicht
|
||||
</h1>
|
||||
{% if errors|length %}
|
||||
@@ -18,6 +18,24 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{{ form_start(filterForm) }}
|
||||
<div class="border border-gray-200 rounded-md p-2 mb-4">
|
||||
<div class="grid grid-cols-2 md:grid-cols-5 gap-x-1 gap-y-2 pb-2">
|
||||
{{ form_widget(filterForm.dateFrom) }}
|
||||
{{ form_widget(filterForm.dateTo) }}
|
||||
{{ form_widget(filterForm.jobProfile) }}
|
||||
{{ form_widget(filterForm.destination) }}
|
||||
{{ form_widget(filterForm.duration) }}
|
||||
</div>
|
||||
<div class="flex items-center space-x-2">
|
||||
{{ form_widget(filterForm.apply, { 'attr': { 'class': 'btn btn--small' } }) }}
|
||||
{{ form_widget(filterForm.reset, { 'attr': { 'class': 'btn btn--small btn--secondary' } }) }}
|
||||
</div>
|
||||
</div>
|
||||
{{ form_rest(filterForm) }}
|
||||
{{ form_end(filterForm) }}
|
||||
|
||||
|
||||
<div class="grid sm:grid-cols-2 md:grid-cols-3 gap-4 pb-4">
|
||||
{% for assignment in pagination %}
|
||||
<div class="relative flex flex-col justify-between rounded-md border border-gray-200 bg-gray-100 p-4">
|
||||
|
||||
Reference in New Issue
Block a user