Browse Source

Place log status tag within paragraph

pull/502/head
Paul Robert Lloyd 3 years ago
parent
commit
2ea44bc204
  1. 4
      app/views/case_logs/edit.html.erb

4
app/views/case_logs/edit.html.erb

@ -25,7 +25,9 @@
<% elsif @case_log.status == "not_started" %>
<p class="govuk-body">This log has not been started.</p>
<% elsif @case_log.status == "completed" %>
<%= govuk_tag(text: "Completed") %>
<p class="govuk-body">
<%= govuk_tag(text: "Completed") %>
</p>
<p class="govuk-body">
You can <a class="govuk-link" href="<%="/logs/#{@case_log.id}/review" %>">review and make changes to this log</a> up to 3 months after the end of the current collection year, which closes on 31 March <%= @case_log.collection_start_year.present? ? @case_log.collection_start_year + 1 : "" %>.
</p>

Loading…
Cancel
Save