From 8054c286dc4b176b0df308bc82d835d466b06825 Mon Sep 17 00:00:00 2001 From: Manny Dinssa <44172848+Dinssa@users.noreply.github.com> Date: Tue, 8 Apr 2025 10:03:59 +0100 Subject: [PATCH] Refactor testing tools links to use button links for improved UI --- .../create_log_actions_component.html.erb | 30 ++++++++++++++++--- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/app/components/create_log_actions_component.html.erb b/app/components/create_log_actions_component.html.erb index 8c962fc02..e21b72a73 100644 --- a/app/components/create_log_actions_component.html.erb +++ b/app/components/create_log_actions_component.html.erb @@ -13,10 +13,32 @@ Testing tools These links can only be seen and be used in testing environments.
- <%= govuk_link_to "New test log", create_test_log_href, class: "app-testing-tools-link" %> - <%= govuk_link_to "New test log (setup only)", create_setup_test_log_href, class: "app-testing-tools-link" %> - <%= govuk_link_to "24 BU test file", create_test_bulk_upload_href(2024), class: "app-testing-tools-link" %> - <%= govuk_link_to "25 BU test file", create_test_bulk_upload_href(2025), class: "app-testing-tools-link" %> + <%= govuk_button_link_to create_test_log_href, class: "govuk-button" do %> + New test log + + <% end %> + <%= govuk_button_link_to create_setup_test_log_href, class: "govuk-button" do %> + New test log (setup only) + + <% end %> + <%= govuk_button_link_to create_test_bulk_upload_href(2024), class: "govuk-button govuk-button--secondary" do %> + 24/25 BU test file + + + + + <% end %> + <%= govuk_button_link_to create_test_bulk_upload_href(2025), class: "govuk-button govuk-button--secondary" do %> + 25/26 BU test file + + + + + <% end %>
<% end %>