From 6b15b41d560dda7a0fa972f4706c346a1f702ef9 Mon Sep 17 00:00:00 2001 From: leigh-mil Date: Thu, 8 Aug 2019 10:00:20 -0400 Subject: [PATCH] Formatting and styling of form --- templates/ccpo/add_user.html | 28 +++++++++++++--------------- templates/ccpo/confirm_user.html | 17 ++++++----------- 2 files changed, 19 insertions(+), 26 deletions(-) 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 %}