Intitial teams support #147

Merged
Oleg-Komarov merged 34 commits from teams-support into main 2024-05-23 19:43:54 +02:00
Showing only changes of commit ee555a7eca - Show all commits

View File

@ -40,6 +40,26 @@
</section> </section>
<section class="card p-3 mb-3"> <section class="card p-3 mb-3">
{% if user.team_users %}
<div class="row mb-3">
<div class="col">
{# TODO: @back-end process Select Team with Django #}
<label>Select Team</label><span class="form-required-indicator">*</span>
<select class="form-control" id="team" allowempty="false" required>
{# TODO: chcek while option first is not selected #}
<option disabled>Select...</option>
{% for team_member in user.team_users.all %}
{% with team=team_member.team %}
<option>{{ team.name }}</option>
{% endwith %}
{% endfor %}
</select>
</div>
<div class="col"></div>
</div>
{% endif %}
{% for field in extension_form %} {% for field in extension_form %}
{% if field != 'tags' %} {% if field != 'tags' %}
{# TODO: fix handling of tags #} {# TODO: fix handling of tags #}