{% extends "layout.html" %} {% set title = 'Personal details' %} {% block pageTitle %}{{ title }}{% endblock %} {% block beforeContent %} {% endblock %} {% block content %}

Search for a person on probation

{%- from "moj/components/search/macro.njk" import mojSearch -%} {{ mojSearch({ action: '#', method: 'post', input: { id: 'search', name: 'search' }, label: { text: 'Search', classes: 'govuk-!-font-weight-bold' }, hint: { text: 'You can search by name, date of birth or CRN number' }, button: { text: 'Search' } }) }}

Search results

{%- from "govuk/components/table/macro.njk" import govukTable -%} {{ govukTable({ attributes: { 'data-module': 'moj-sortable-table' }, head: [ { text: "Name", attributes: { "aria-sort": "ascending" } }, { text: "CRN", attributes: { "aria-sort": "none" } }, { text: "Sentence type", attributes: { "aria-sort": "none" } }, { text: "Risk of serious harm", attributes: { "aria-sort": "none" } } ], rows: [ [ { html: 'Charles Edwin' }, { text: "A00000" }, { text: "ORA Adult Custody (not PSS) (3 Years)" }, { html: 'High' } ], [ { html: 'Charles Edwinn' }, { text: "A00091" }, { text: "Adult custody < 12m (14 days)" }, { html: 'Medium' } ], [ { html: 'Frank Edwin' }, { text: "A00002" }, { text: "ORA Adult Custody (inc PSS) (4 months)" }, { html: 'Medium' } ], [ { html: 'Jon Edwin' }, { text: "A00055" }, { text: "ORA Adult Custody (inc PSS) (16 weeks)" }, { html: 'High' } ], [ { html: 'Chuck Edwin' }, { text: "A00012" }, { text: "Community rehabilitation order (12 months)" }, { html: 'Low' } ] ] }) }}
{% endblock %}