4 changed files with 20 additions and 19 deletions
@ -1,16 +1,17 @@ |
|||||||
<%= form_with model: @user, url: path(current_user), method: "get", local: true do |f| %> |
<%= form_with model: @user, url: path(current_user), method: "get", local: true do |f| %> |
||||||
<div class="app-search govuk-!-margin-bottom-4"> |
<div class="app-search govuk-!-margin-bottom-4"> |
||||||
<div class="govuk-form-group app-search__form-group"> |
<div class="govuk-form-group app-search__form-group"> |
||||||
<label class="govuk-label govuk-!-margin-bottom-2" for="search-field"> |
<%= f.govuk_text_field :search, |
||||||
<%= label %> |
label: { text: search_label }, |
||||||
</label> |
type: "search", |
||||||
|
value:, |
||||||
|
autocomplete: "off", |
||||||
|
class: "app-search__input" %> |
||||||
|
</div> |
||||||
|
|
||||||
<input class="govuk-input app-search__input" id="search-field" name="search-field" type="search" autocomplete="off" value="<%= value %>"> |
<button class="govuk-button app-search__button undefined" data-module="govuk-button"> |
||||||
</div> |
Search |
||||||
|
</button> |
||||||
<button class="govuk-button app-search__button undefined" data-module="govuk-button"> |
|
||||||
Search |
|
||||||
</button> |
|
||||||
|
|
||||||
</div> |
</div> |
||||||
<% end %> |
<% end %> |
||||||
|
Loading…
Reference in new issue