|
8 | 8 |
|
9 | 9 | <%= render "sessions/header" %>
|
10 | 10 |
|
11 |
| -<%= govuk_inset_text do %> |
12 |
| - <span class="nhsuk-u-visually-hidden">Information: </span> |
13 |
| - <p class="nhsuk-body"> |
14 |
| - There are <%= @eligible_for_bulk_psd_count %> children with consent for the nasal flu vaccine |
15 |
| - who do not require triage and do not yet have a PSD in place. |
16 |
| - </p> |
17 |
| - <% if current_user.is_nurse? %> |
18 |
| - <div class="nhsuk-action-link"> |
19 |
| - <%= link_to new_session_patient_specific_directions_path(@session), class: "nhsuk-action-link__link" do %> |
20 |
| - <svg class="nhsuk-icon nhsuk-icon__arrow-right-circle" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-hidden="true" width="36" height="36"> |
21 |
| - <path d="M0 0h24v24H0z" fill="none"></path> |
22 |
| - <path d="M12 2a10 10 0 0 0-9.95 9h11.64L9.74 7.05a1 1 0 0 1 1.41-1.41l5.66 5.65a1 1 0 0 1 0 1.42l-5.66 5.65a1 1 0 0 1-1.41 0 1 1 0 0 1 0-1.41L13.69 13H2.05A10 10 0 1 0 12 2z"></path> |
23 |
| - </svg> |
24 |
| - <span class="nhsuk-action-link__text">Add new PSDs</span> |
25 |
| - <% end %> |
26 |
| - </div> |
27 |
| - <% end %> |
28 |
| -<% end %> |
29 |
| - |
30 | 11 | <div class="nhsuk-grid-row">
|
31 |
| - <div class="app-grid-column-filters"></div> |
| 12 | + <div class="app-grid-column-filters"> |
| 13 | + <%= render AppPatientSearchFormComponent.new( |
| 14 | + @form, |
| 15 | + url: session_patient_specific_directions_path(@session), |
| 16 | + programmes: @session.programmes, |
| 17 | + patient_specific_direction_statuses: %w[added not_added], |
| 18 | + year_groups: @session.year_groups, |
| 19 | + ) %> |
| 20 | + </div> |
32 | 21 |
|
33 | 22 | <div class="app-grid-column-results">
|
| 23 | + <%= govuk_inset_text do %> |
| 24 | + <span class="nhsuk-u-visually-hidden">Information: </span> |
| 25 | + <p class="nhsuk-body"> |
| 26 | + There are <%= @eligible_for_bulk_psd_count %> children with consent for the nasal flu vaccine |
| 27 | + who do not require triage and do not yet have a PSD in place. |
| 28 | + </p> |
| 29 | + <% if current_user.is_nurse? %> |
| 30 | + <div class="nhsuk-action-link"> |
| 31 | + <%= link_to new_session_patient_specific_directions_path(@session), class: "nhsuk-action-link__link" do %> |
| 32 | + <svg class="nhsuk-icon nhsuk-icon__arrow-right-circle" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-hidden="true" width="36" height="36"> |
| 33 | + <path d="M0 0h24v24H0z" fill="none"></path> |
| 34 | + <path d="M12 2a10 10 0 0 0-9.95 9h11.64L9.74 7.05a1 1 0 0 1 1.41-1.41l5.66 5.65a1 1 0 0 1 0 1.42l-5.66 5.65a1 1 0 0 1-1.41 0 1 1 0 0 1 0-1.41L13.69 13H2.05A10 10 0 1 0 12 2z"></path> |
| 35 | + </svg> |
| 36 | + <span class="nhsuk-action-link__text">Add new PSDs</span> |
| 37 | + <% end %> |
| 38 | + </div> |
| 39 | + <% end %> |
| 40 | + <% end %> |
| 41 | + |
34 | 42 | <%= render AppSessionNeedsReviewWarningComponent.new(session: @session) %>
|
35 | 43 | <%= render AppSearchResultsComponent.new(@pagy, label: "children", heading: "Review PSDs") do %>
|
36 | 44 | <% @patient_sessions.each do |patient_session| %>
|
|
0 commit comments