Merge pull request #3377 from alphagov/delete-contact-list

Let users delete a contact list
This commit is contained in:
Chris Hill-Scott
2020-03-27 16:13:32 +00:00
committed by GitHub
6 changed files with 95 additions and 0 deletions

View File

@@ -45,4 +45,14 @@
</p>
{% endif %}
{% if not confirm_delete_banner %}
<div class="js-stick-at-bottom-when-scrolling">
<div class="page-footer">
<span class="page-footer-delete-link page-footer-delete-link-without-button">
<a class="govuk-link govuk-link--destructive" href="{{ url_for('main.delete_contact_list', service_id=current_service.id, contact_list_id=contact_list.id) }}">Delete this contact list</a>
</span>
</div>
</div>
{% endif %}
{% endblock %}