You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
867 B
30 lines
867 B
<% content_for :before_content do %> |
|
<%= govuk_back_link( |
|
text: "Back", |
|
href: "/schemes/#{@scheme.id}/primary", |
|
) %> |
|
<% end %> |
|
|
|
<%= render partial: "organisations/headings", locals: { main: "Does this scheme provide for another client group?", sub: @scheme.service_name } %> |
|
|
|
<%= form_for(:confirmed, method: :patch, url: scheme_secondary_path(scheme_id: @scheme.id)) do |f| %> |
|
<div class="govuk-grid-row"> |
|
<div class="govuk-grid-column-two-thirds"> |
|
|
|
<h1 class="govuk-heading-l"> |
|
<%= content_for(:title) %> |
|
</h1> |
|
|
|
<% selection = ["Yes", "No"].map { |key, _| OpenStruct.new(id: key, name: key.to_s.humanize) } %> |
|
|
|
<%= f.govuk_collection_radio_buttons :selection, |
|
selection, |
|
:id, |
|
:name, |
|
legend: nil |
|
%> |
|
|
|
<%= f.govuk_submit "Save and continue" %> |
|
</div> |
|
</div> |
|
<% end %>
|
|
|