Remove alert from confirm ccpo user page
This commit is contained in:
parent
1783cd494d
commit
43855c5495
@ -1,47 +1,44 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% from "components/alert.html" import Alert %}
|
|
||||||
{% from "components/text_input.html" import TextInput %}
|
{% from "components/text_input.html" import TextInput %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% if new_user %}
|
{% if new_user %}
|
||||||
{% call Alert('ccpo.form.confirm_user_title' | translate) %}
|
<h3>{{ 'ccpo.form.confirm_user_title' | translate }}</h3>
|
||||||
<form id="add-ccpo-user-form" action="{{ url_for('ccpo.confirm_new_user') }}" method="POST">
|
<form id="add-ccpo-user-form" action="{{ url_for('ccpo.confirm_new_user') }}" method="POST">
|
||||||
{{ form.csrf_token }}
|
{{ form.csrf_token }}
|
||||||
<input type="hidden" name="dod_id" value="{{ form.dod_id.data }}">
|
<input type="hidden" name="dod_id" value="{{ form.dod_id.data }}">
|
||||||
<div>
|
<div>
|
||||||
<p>
|
<p>
|
||||||
{{ "ccpo.form.confirm_user_text" | translate }}
|
{{ "ccpo.form.confirm_user_text" | translate }}
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
{{ new_user.full_name }}
|
{{ new_user.full_name }}
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
{{ new_user.email }}
|
{{ new_user.email }}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class='action-group'>
|
|
||||||
<input
|
|
||||||
type='submit'
|
|
||||||
v-bind:disabled="invalid"
|
|
||||||
class='action-group__action usa-button'
|
|
||||||
value='{{ "ccpo.form.confirm_button" | translate }}'>
|
|
||||||
<a class='action-group__action icon-link icon-link--default' href="{{ url_for('ccpo.users') }}">
|
|
||||||
{{ "common.cancel" | translate }}
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
{% endcall %}
|
|
||||||
{% else %}
|
|
||||||
{% call Alert('ccpo.form.user_not_found_title' | translate) %}
|
|
||||||
<p>
|
|
||||||
{{ "ccpo.form.user_not_found_text" | translate }}
|
|
||||||
</p>
|
|
||||||
<div class='action-group'>
|
<div class='action-group'>
|
||||||
|
<input
|
||||||
|
type='submit'
|
||||||
|
v-bind:disabled="invalid"
|
||||||
|
class='action-group__action usa-button'
|
||||||
|
value='{{ "ccpo.form.confirm_button" | translate }}'>
|
||||||
<a class='action-group__action icon-link icon-link--default' href="{{ url_for('ccpo.users') }}">
|
<a class='action-group__action icon-link icon-link--default' href="{{ url_for('ccpo.users') }}">
|
||||||
{{ "ccpo.form.return_link" | translate }}
|
{{ "common.cancel" | translate }}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
{% endcall %}
|
</form>
|
||||||
|
{% else %}
|
||||||
|
<h3>{{ 'ccpo.form.user_not_found_title' | translate }}</h3>
|
||||||
|
<p>
|
||||||
|
{{ "ccpo.form.user_not_found_text" | translate }}
|
||||||
|
</p>
|
||||||
|
<div class='action-group'>
|
||||||
|
<a class='action-group__action icon-link icon-link--default' href="{{ url_for('ccpo.users') }}">
|
||||||
|
{{ "ccpo.form.return_link" | translate }}
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user