diff --git a/templates/ccpo/add_user.html b/templates/ccpo/add_user.html index 5647e144..505ab20b 100644 --- a/templates/ccpo/add_user.html +++ b/templates/ccpo/add_user.html @@ -3,25 +3,23 @@ {% from "components/text_input.html" import TextInput %} {% block content %} - {% set ccpo_user_form = "add-ccpo-user-form" %} - -
+ {{ form.csrf_token }} - +

Add new CCPO user

-
+
{{ TextInput(form.dod_id, validation='dodId') }}
-
- {% endblock %} diff --git a/templates/ccpo/confirm_user.html b/templates/ccpo/confirm_user.html index d9cb610f..2012fc0f 100644 --- a/templates/ccpo/confirm_user.html +++ b/templates/ccpo/confirm_user.html @@ -5,11 +5,8 @@ {% block content %} {% if new_user %} - {% set ccpo_user_form = "add-ccpo-user-form" %} - {% call Alert('Confirm new CCPO user') %} - -
+ {{ form.csrf_token }}
@@ -35,13 +32,11 @@ {% endcall %} {% else %} {% call Alert('User not found') %} -
- To add someone as a CCPO user, they must already have an ATAT account. - + To add someone as a CCPO user, they must already have an ATAT account. + {% endcall %} {% endif %}