From 43855c549575f30e5682697692af34515580fa23 Mon Sep 17 00:00:00 2001 From: leigh-mil Date: Fri, 9 Aug 2019 10:21:18 -0400 Subject: [PATCH] Remove alert from confirm ccpo user page --- templates/ccpo/confirm_user.html | 67 +++++++++++++++----------------- 1 file changed, 32 insertions(+), 35 deletions(-) diff --git a/templates/ccpo/confirm_user.html b/templates/ccpo/confirm_user.html index 1304fa97..d7f26c13 100644 --- a/templates/ccpo/confirm_user.html +++ b/templates/ccpo/confirm_user.html @@ -1,47 +1,44 @@ {% extends "base.html" %} -{% from "components/alert.html" import Alert %} {% from "components/text_input.html" import TextInput %} {% block content %} {% if new_user %} - {% call Alert('ccpo.form.confirm_user_title' | translate) %} -
- {{ form.csrf_token }} - -
-

- {{ "ccpo.form.confirm_user_text" | translate }} -

-

- {{ new_user.full_name }} -

-

- {{ new_user.email }} -

-
- -
- {% endcall %} - {% else %} - {% call Alert('ccpo.form.user_not_found_title' | translate) %} -

- {{ "ccpo.form.user_not_found_text" | translate }} -

+

{{ 'ccpo.form.confirm_user_title' | translate }}

+
+ {{ form.csrf_token }} + +
+

+ {{ "ccpo.form.confirm_user_text" | translate }} +

+

+ {{ new_user.full_name }} +

+

+ {{ new_user.email }} +

+
- {% endcall %} +
+ {% else %} +

{{ 'ccpo.form.user_not_found_title' | translate }}

+

+ {{ "ccpo.form.user_not_found_text" | translate }} +

+
+ + {{ "ccpo.form.return_link" | translate }} + +
{% endif %} {% endblock %}