From f8f2e464f91238137137fa0627f535416a623d0d Mon Sep 17 00:00:00 2001 From: Daniel Baark <5101747+baarkerlounger@users.noreply.github.com> Date: Tue, 16 Nov 2021 17:19:40 +0000 Subject: [PATCH] Width layout class (#94) --- app/views/case_logs/edit.html.erb | 2 +- app/views/case_logs/index.html.erb | 2 +- app/views/form/check_answers.html.erb | 2 +- app/views/form/page.html.erb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/case_logs/edit.html.erb b/app/views/case_logs/edit.html.erb index 25668b2ac..94fabb9a9 100644 --- a/app/views/case_logs/edit.html.erb +++ b/app/views/case_logs/edit.html.erb @@ -1,6 +1,6 @@ <%= turbo_frame_tag "case_log_form", target: "_top" do %>
-
+

Tasklist for log <%= @case_log.id %>

diff --git a/app/views/case_logs/index.html.erb b/app/views/case_logs/index.html.erb index 7352c304c..ea3d45436 100644 --- a/app/views/case_logs/index.html.erb +++ b/app/views/case_logs/index.html.erb @@ -2,7 +2,7 @@

Your logs

-
+
<%= link_to "Create new log", case_logs_path, method: :post, class: "govuk-button" %> diff --git a/app/views/form/check_answers.html.erb b/app/views/form/check_answers.html.erb index 26b153f8f..46cb5a4f9 100644 --- a/app/views/form/check_answers.html.erb +++ b/app/views/form/check_answers.html.erb @@ -1,6 +1,6 @@ <%= turbo_frame_tag "case_log_form", target: "_top" do %>
-
+

Check the answers you gave for <%= subsection.humanize(capitalize: false) %>

<%= display_answered_questions_summary(subsection, @case_log, form) %> <% form.pages_for_subsection(subsection).each do |page, page_info| %> diff --git a/app/views/form/page.html.erb b/app/views/form/page.html.erb index 238f11439..f29011b99 100644 --- a/app/views/form/page.html.erb +++ b/app/views/form/page.html.erb @@ -4,7 +4,7 @@ <%= turbo_frame_tag "case_log_form", target: "_top" do %>
-
+
<% if page_info["header"].present? %>

<%= page_info["header"] %>