added 'change csv button on preview page'

This commit is contained in:
Beverly Nguyen
2025-09-04 15:00:06 -07:00
parent ece78d47a6
commit 5e8da220ec

View File

@@ -101,9 +101,16 @@
{% set button_text %} {% set button_text %}
{{ "Schedule" if scheduled_for else 'Send'}} {{ "Schedule" if scheduled_for else 'Send'}}
{% endset %} {% endset %}
{{ usaButton({ <div>
"text": button_text, {{ usaButton({
"name": button_text "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)
}) }}
</div>
</form> </form>
{% endblock %} {% endblock %}