|
|
@ -8,11 +8,12 @@ |
|
|
|
<%= @case_log.status %></h2> |
|
|
|
<%= @case_log.status %></h2> |
|
|
|
<p class="govuk-body govuk-!-margin-bottom-7">You've completed <%= get_sections_count(@form, @case_log, :completed) %> of <%= get_sections_count(@form, @case_log, :all) %> sections.</p> |
|
|
|
<p class="govuk-body govuk-!-margin-bottom-7">You've completed <%= get_sections_count(@form, @case_log, :completed) %> of <%= get_sections_count(@form, @case_log, :all) %> sections.</p> |
|
|
|
<p class="govuk-body govuk-!-margin-bottom-7"> |
|
|
|
<p class="govuk-body govuk-!-margin-bottom-7"> |
|
|
|
<a href="#<%= get_next_incomplete_section(@form, @case_log) %>">Skip to next incomplete section</a> |
|
|
|
<% next_incomplete_section=get_next_incomplete_section(@form, @case_log) %> |
|
|
|
|
|
|
|
<a href="#<%= next_incomplete_section %>" onclick="addHighlight('<%= next_incomplete_section %>')"> |
|
|
|
|
|
|
|
Skip to next incomplete section |
|
|
|
|
|
|
|
</a> |
|
|
|
</p> |
|
|
|
</p> |
|
|
|
|
|
|
|
|
|
|
|
<%= render "tasklist", locals: { form: @form } %> |
|
|
|
<%= render "tasklist", locals: { form: @form } %> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|