atst/templates/ccpo/confirm_user.html
dandds cc689a7e39 Fix Vue bug in CCPO new user confirmation.
The submit button for the page contained a Vue directive, but the button
is not nested in an appropriate Vue component. The directive and
associated behavior are unnecessary in this case, so I removed the
directive.
2019-08-21 13:04:35 -04:00

34 lines
1017 B
HTML

{% extends "base.html" %}
{% from "components/text_input.html" import TextInput %}
{% block content %}
{% if new_user %}
<h3>{{ 'ccpo.form.confirm_user_title' | translate }}</h3>
<form id="add-ccpo-user-form" action="{{ url_for('ccpo.confirm_new_user') }}" method="POST">
{{ form.csrf_token }}
<input type="hidden" name="dod_id" value="{{ form.dod_id.data }}">
<div>
<p>
{{ "ccpo.form.confirm_user_text" | translate }}
</p>
<p>
{{ new_user.full_name }}
</p>
<p>
{{ new_user.email }}
</p>
</div>
<div class='action-group'>
<input
type='submit'
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>
{% endif %}
{% endblock %}