diff --git a/styles/sections/_application_edit.scss b/styles/sections/_application_edit.scss
index 542dcc25..c011e361 100644
--- a/styles/sections/_application_edit.scss
+++ b/styles/sections/_application_edit.scss
@@ -76,6 +76,11 @@
}
}
}
+
+ hr {
+ border: none;
+ border-bottom: 1px solid $color-gray-lighter;
+ }
}
.environment-roles {
diff --git a/templates/fragments/applications/new_member_modal_content.html b/templates/fragments/applications/new_member_modal_content.html
index 41ba19d9..6e9789f9 100644
--- a/templates/fragments/applications/new_member_modal_content.html
+++ b/templates/fragments/applications/new_member_modal_content.html
@@ -3,90 +3,100 @@
{% from "components/checkbox_input.html" import CheckboxInput %}
{% from "components/phone_input.html" import PhoneInput %}
-{% macro MemberStepOne(new_member_form) %}
+{% macro MemberFormTemplate(title, next_button, previous=True) %}
-
- {{ TextInput(new_member_form.user_data.first_name, validation='requiredField', optional=False) }}
-
-
- {{ TextInput(new_member_form.user_data.last_name, validation='requiredField', optional=False) }}
-
-
- {{ TextInput(new_member_form.user_data.email, validation='email', optional=False) }}
-
-
- {{ PhoneInput(new_member_form.user_data.phone_number, new_member_form.user_data.phone_ext)}}
-
-
- {{ TextInput(new_member_form.user_data.dod_id, validation='dodId', optional=False) }}
-
+
+ {{ caller() }}
+
+{% endmacro %}
+
+{% macro MemberStepOne(new_member_form) %}
+ {% set next_button %}
- {{ "common.cancel" | translate }}
-
+ {% endset %}
+
+ {% call MemberFormTemplate(title="Add Member", next_button=next_button, previous=False) %}
+
+ {{ TextInput(new_member_form.user_data.first_name, validation='requiredField', optional=False) }}
+
+
+ {{ TextInput(new_member_form.user_data.last_name, validation='requiredField', optional=False) }}
+
+
+ {{ TextInput(new_member_form.user_data.email, validation='email', optional=False) }}
+
+
+ {{ PhoneInput(new_member_form.user_data.phone_number, new_member_form.user_data.phone_ext)}}
+
+
+ {{ TextInput(new_member_form.user_data.dod_id, validation='dodId', optional=False) }}
+
+ {% endcall %}
{% endmacro %}
{% macro MemberStepTwo(new_member_form, application) %}
-
-
- Project Permissions
-
- {{ CheckboxInput(new_member_form.permission_sets.perms_team_mgmt, classes="input__inline-fields") }}
- {{ CheckboxInput(new_member_form.permission_sets.perms_env_mgmt, classes="input__inline-fields") }}
- {{ CheckboxInput(new_member_form.permission_sets.perms_del_env, classes="input__inline-fields") }}
-
-
-
Environment Access
-
- {% for environment_data in new_member_form.environment_roles %}
-
-
-
- {{ environment_data.environment_id() }}
-
- {% endfor %}
-
-
-
+ {% endset %}
+
+ {% call MemberFormTemplate(title="Set Permissions and Roles", next_button=next_button) %}
+ Project Permissions
+
+ {{ CheckboxInput(new_member_form.permission_sets.perms_team_mgmt, classes="input__inline-fields") }}
+ {{ CheckboxInput(new_member_form.permission_sets.perms_env_mgmt, classes="input__inline-fields") }}
+ {{ CheckboxInput(new_member_form.permission_sets.perms_del_env, classes="input__inline-fields") }}
+
+
+
Environment Access
+
+ {% for environment_data in new_member_form.environment_roles %}
+
+
+
+ {{ environment_data.environment_id() }}
+
+ {% endfor %}
+
+ {% endcall %}
{% endmacro %}