%= form_with model: @user, url: path(current_user), method: "get", local: true do |f| %>
<%= 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", class: "app-search__button" %>
<%= govuk_button_link_to "Clear search", path(current_user), secondary: true, class: "app-search__button" %>
<% end %>