Move edit form outside of the for loop
This commit is contained in:
parent
2a9de4f3b9
commit
09c0bed47d
@ -1,11 +1,12 @@
|
|||||||
{% from "components/options_input.html" import OptionsInput %}
|
{% from "components/options_input.html" import OptionsInput %}
|
||||||
|
|
||||||
{% for member_form in team_form.members %}
|
<form method='POST' id="team" action='{{ url_for("applications.update_team", application_id=application.id) }}' autocomplete="off" enctype="multipart/form-data">
|
||||||
{% set environment_roles_form = member_form.environment_roles %}
|
{{ team_form.csrf_token }}
|
||||||
{% set permissions_form = member_form.permission_sets %}
|
|
||||||
|
{% for member_form in team_form.members %}
|
||||||
|
{% set environment_roles_form = member_form.environment_roles %}
|
||||||
|
{% set permissions_form = member_form.permission_sets %}
|
||||||
|
|
||||||
<form method='POST' id="team" action='{{ url_for("applications.update_team", application_id=application.id) }}' autocomplete="off" enctype="multipart/form-data">
|
|
||||||
{{ team_form.csrf_token }}
|
|
||||||
<toggler inline-template>
|
<toggler inline-template>
|
||||||
<li class="accordion-table__item">
|
<li class="accordion-table__item">
|
||||||
<div class="accordion-table__item-content row">
|
<div class="accordion-table__item-content row">
|
||||||
@ -43,5 +44,5 @@
|
|||||||
{{ member_form.user_id() }}
|
{{ member_form.user_id() }}
|
||||||
</li>
|
</li>
|
||||||
</toggler>
|
</toggler>
|
||||||
</form>
|
{% endfor %}
|
||||||
{% endfor %}
|
</form>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user