mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 22:40:31 -04:00
Convert SearchFields to GovukSearchFields
Changes those fields in the following forms: - SearchByNameForm - SearchUsersByEmailForm - SearchUsersForm - SearchNotificationsForm Includes changes to templates that use this form and associated tests.
This commit is contained in:
@@ -10,12 +10,10 @@
|
||||
{% if show %}
|
||||
<div data-module="autofocus">
|
||||
<div class="live-search js-header" data-module="live-search" data-targets="{{ target_selector }}">
|
||||
{{ textbox(
|
||||
form.search,
|
||||
width='1-1',
|
||||
label=search_label,
|
||||
autocomplete="off"
|
||||
) }}
|
||||
{{ form.search(param_extensions={
|
||||
"label": {"text": search_label},
|
||||
"autocomplete": "off"
|
||||
}) }}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user