15 lines
493 B
15 lines
493 B
<%= form_with model: @user, url: path(current_user), method: "get", local: true do |f| %> |
|
<div class="app-search govuk-!-margin-bottom-4"> |
|
<%= f.govuk_text_field :search, |
|
form_group: { |
|
class: "app-search__form-group", |
|
}, |
|
label: { text: search_label }, |
|
type: "search", |
|
value:, |
|
autocomplete: "off", |
|
class: "app-search__input" %> |
|
|
|
<%= f.govuk_submit "Search", classes: "app-search__button govuk-button--secondary" %> |
|
</div> |
|
<% end %>
|
|
|