diff --git a/app/views/case_logs/_tasklist.html.erb b/app/views/case_logs/_tasklist.html.erb new file mode 100644 index 000000000..455190ffb --- /dev/null +++ b/app/views/case_logs/_tasklist.html.erb @@ -0,0 +1,28 @@ +<%# Placeholder until we have a real form schema %> +<% + sections = { + "About the household" => ["Household characteristics", "Household situation", "Household needs"], + "Tenancy and property information" => ["Tenancy information", "Property information"], + "Rent and charges" => ["Income & benefits", "Rent"], + "Local Authority" => ["Local authority"], + "Submission" => ["Declaration"] + } +%> + +
    + <% sections.map do |section, subsections| %> +
  1. +

    + <%= section %> +

    + +
  2. + <% end %> +
diff --git a/app/views/case_logs/show.html.erb b/app/views/case_logs/show.html.erb index e005f74a0..e385d89e7 100644 --- a/app/views/case_logs/show.html.erb +++ b/app/views/case_logs/show.html.erb @@ -8,31 +8,4 @@ Skip to next incomplete section

-<%# Placeholder until we have a real form schema %> -<% - sections = { - "About the household" => ["Household characteristics", "Household situation", "Household needs"], - "Tenancy and property information" => ["Tenancy information", "Property information"], - "Rent and charges" => ["Income & benefits", "Rent"], - "Local Authority" => ["Local authority"], - "Submission" => ["Declaration"] - } -%> - -
    - <% sections.map do |section, subsections| %> -
  1. -

    - <%= section %> -

    - -
  2. - <% end %> -
+<%= render "tasklist" %>