diff --git a/templates/fragments/applications/edit_environment_team_form.html b/templates/fragments/applications/edit_environment_team_form.html
new file mode 100644
index 00000000..95505ed6
--- /dev/null
+++ b/templates/fragments/applications/edit_environment_team_form.html
@@ -0,0 +1,93 @@
+{% from "components/icon.html" import Icon %}
+{% from "components/save_button.html" import SaveButton %}
+
+
+{% for env_form in members_form.envs %}
+ {% if env_form.env_id.data == env['id'] %}
+
+
+ {% endif %}
+{% endfor %}
diff --git a/templates/fragments/applications/edit_environments.html b/templates/fragments/applications/edit_environments.html
index fe25d41b..7852ae7d 100644
--- a/templates/fragments/applications/edit_environments.html
+++ b/templates/fragments/applications/edit_environments.html
@@ -6,47 +6,6 @@
{% from "components/text_input.html" import TextInput %}
{% from "components/toggle_list.html" import ToggleButton, ToggleSection %}
-{% macro RolePanel(role_form) %}
- {% set role = role_form.role.data %}
- {% if role == 'no_access' %}
- {% set role = 'Unassigned (No Access)' %}
- {% set unassigned = True %}
- {% endif %}
-
-
-{% endmacro %}
{% call ToggleSection(section_name="members", classes="environment-roles") %}
- {% for env_form in members_form.envs %}
- {% if env_form.env_id.data == env['id'] %}
-
-
- {% endif %}
- {% endfor %}
+ {% include 'fragments/applications/edit_environment_team_form.html' %}
{% endcall %}
{% call ToggleSection(section_name="edit") %}