mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 03:28:26 -04:00
We are seeing little benefit of allowing users to not put in their email address. This will mean that you must provide it for feedback, not just problems with the site. There could maybe be some more refactoring of the support templates as this is now very similar to the report a problem page but this is a quick fix so haven't gone too in depth.
33 lines
1.1 KiB
HTML
33 lines
1.1 KiB
HTML
{% extends "withoutnav_template.html" %}
|
||
{% from "components/textbox.html" import textbox %}
|
||
{% from "components/page-footer.html" import sticky_page_footer %}
|
||
{% from "components/page-header.html" import page_header %}
|
||
{% from "components/form.html" import form_wrapper %}
|
||
|
||
{% block per_page_title %}
|
||
Ask a question or give feedback
|
||
{% endblock %}
|
||
|
||
{% block maincolumn_content %}
|
||
|
||
{{ page_header(
|
||
'Ask a question or give feedback',
|
||
back_link=url_for('.support')
|
||
) }}
|
||
<div class="govuk-grid-row">
|
||
<div class="govuk-grid-column-two-thirds">
|
||
{% call form_wrapper() %}
|
||
{{ textbox(form.feedback, width='1-1', hint='', rows=10, autosize=True) }}
|
||
{% if not current_user.is_authenticated %}
|
||
{{ textbox(form.name, width='1-1') }}
|
||
{{ textbox(form.email_address, width='1-1') }}
|
||
{% else %}
|
||
<p>We’ll reply to {{ current_user.email_address }}</p>
|
||
{% endif %}
|
||
{{ sticky_page_footer('Send') }}
|
||
{% endcall %}
|
||
</div>
|
||
</div>
|
||
|
||
{% endblock %}
|