From 5e8da220eccaedb4eb28a750b6bf85fd6d4cf713 Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Thu, 4 Sep 2025 15:00:06 -0700 Subject: [PATCH] added 'change csv button on preview page' --- app/templates/views/check/preview.html | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/app/templates/views/check/preview.html b/app/templates/views/check/preview.html index 8a1e6189d..c481d72c3 100644 --- a/app/templates/views/check/preview.html +++ b/app/templates/views/check/preview.html @@ -101,9 +101,16 @@ {% set button_text %} {{ "Schedule" if scheduled_for else 'Send'}} {% endset %} - {{ usaButton({ - "text": button_text, - "name": button_text - }) }} +
+ {{ usaButton({ + "text": button_text, + "name": button_text + }) }} + {{ usaButton({ + "text": "Change CSV file", + "classes": "usa-button--outline", + "href": url_for('main.change_csv', service_id=current_service.id, template_id=template_id) + }) }} +
{% endblock %}