Intitial teams support #147
@ -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 #}
|
||||||
|
Loading…
Reference in New Issue
Block a user