mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-14 10:21:10 -04:00
People are going to hammer through this form _fast_, so not making them click into the form field on every page load is a nice enhancement. Reuses the code written to do this on the page where you enter your verification code.
40 lines
1.0 KiB
HTML
40 lines
1.0 KiB
HTML
{% extends "withnav_template.html" %}
|
|
{% from "components/page-footer.html" import page_footer %}
|
|
{% from "components/file-upload.html" import file_upload %}
|
|
{% from "components/textbox.html" import textbox %}
|
|
{% from "components/table.html" import list_table, field, text_field, index_field, index_field_heading %}
|
|
|
|
{% block service_page_title %}
|
|
{% if request.args['help'] %}
|
|
Example text message
|
|
{% else %}
|
|
Send yourself a test
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
|
|
<h1 class="heading-large">
|
|
{% if request.args['help'] %}
|
|
Example text message
|
|
{% else %}
|
|
{% if template.template_type == 'letter' %}
|
|
Print a test letter
|
|
{% else %}
|
|
Send yourself a test
|
|
{% endif %}
|
|
{% endif %}
|
|
</h1>
|
|
|
|
<form method="post" class="js-stick-at-top-when-scrolling" data-module="autofocus">
|
|
{{ textbox(
|
|
form.placeholder_value,
|
|
hint='Optional' if optional_placeholder else None
|
|
) }}
|
|
{{ page_footer('Next', back_link=back_link) }}
|
|
</form>
|
|
|
|
{{ template|string }}
|
|
|
|
{% endblock %}
|