mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-01 12:00:36 -04:00
Added a form to upload a single letter. Currently this only uses the form to validate that a file is submitted and that the file is a PDF. If either of these validations fail, the form will display an error. Otherwise, we redirect to a new preview page which just has the filename as the heading for now.
19 lines
509 B
HTML
19 lines
509 B
HTML
{% extends "withnav_template.html" %}
|
|
{% from "components/page-header.html" import page_header %}
|
|
|
|
{% block service_page_title %}
|
|
Uploads
|
|
{% endblock %}
|
|
|
|
{% block maincolumn_content %}
|
|
<div class="grid-row">
|
|
<div class="column-five-sixths">
|
|
{{ page_header('Uploads') }}
|
|
|
|
<p>Upload a letter and Notify will print, pack and post it for you.</p>
|
|
|
|
<a href="{{ url_for('.upload_letter', service_id=current_service.id) }}" class="button-secondary">Upload a letter</a>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|