Browse Source

Use tag component

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

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

@ -25,7 +25,7 @@
<% elsif @case_log.status == "not_started" %> <% elsif @case_log.status == "not_started" %>
<p class="govuk-body">This log has not been started.</p> <p class="govuk-body">This log has not been started.</p>
<% elsif @case_log.status == "completed" %> <% elsif @case_log.status == "completed" %>
<strong class="govuk-tag">Completed</strong> <%= govuk_tag(text: "Completed") %>
<p class="govuk-body"> <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 : "" %>. 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> </p>

Loading…
Cancel
Save