Include:
Include:
Include details where the applicant's behaviour could be a risk to:
+ +Add one offence at a time. For example, you should record 3 drug-related offences as 3 separate offences.
+The CAS-2 referral team needs an overview of all alleged offences to assess risk and make sure people are placed safely.
+ + {{ govukButton({ + text: "Add an alleged offence", + href: paths.applications.pages.show({ id: applicationId, task: 'alleged-offences', page: 'alleged-offence-data' }), + classes: "govuk-button--secondary" + }) }} + + {% if page.offences | length %} + + {% for offence in page.offences %} + + {{ govukSummaryList({ + card: { + title: { + text: offence.titleAndNumber, + classes: "govuk-summary-card__title-wrapper--flex-end" + }, + actions: { + items: [ + { + href: offence.removeLink, + text: "Remove", + visuallyHiddenText: offence.titleAndNumber +" offence" + } + ] + } + }, + rows: [ + { + key: { + text: 'Type:' + }, + value: { + html: offence.offenceCategoryTag + } + }, + { + key: { + text: 'Offence date:' + }, + value: { + text: offence.offenceDate + } + }, + { + key: { + text: 'Offence details:' + }, + value: { + text: offence.summary + } + } + ] + }) }} + + {% endfor %} + + {% else %} +There are no alleged offences to show.
+ {% endif %} + +{% endblock %}