Make first page of ‘send texts’ use links not form

This doesn’t need to be a form—it’s not changing any data.

And having the primary action on the page as ‘Use this template’ it makes it
clear what the page is for.
This commit is contained in:
Chris Hill-Scott
2016-02-04 14:02:16 +00:00
parent 7516ec6aba
commit a7d6d85d8b
5 changed files with 19 additions and 33 deletions

View File

@@ -9,7 +9,8 @@ def test_should_return_list_of_all_templates(app_,
mock_get_service_templates,
mock_get_user,
mock_get_user_by_email,
mock_login):
mock_login,
mock_get_jobs):
with app_.test_request_context():
with app_.test_client() as client:
client.login(api_user_active)