mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Update TemplateAndFoldersSelectionForm fields
Changes its StringFields to GovukTextInputFields. Includes changes to templates that use this form and associated tests.
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
<div id="move_to_new_folder_form">
|
||||
<fieldset class="js-will-stick-at-bottom-when-scrolling">
|
||||
<legend class="govuk-visually-hidden">Add to new folder</legend>
|
||||
{{ textbox(templates_and_folders_form.move_to_new_folder_name, width='1-1') }}
|
||||
{{ templates_and_folders_form.move_to_new_folder_name(param_extensions={"classes": "govuk-!-width-full"}) }}
|
||||
{{ page_footer('Add to new folder', button_name='operation', button_value='move-to-new-folder') }}
|
||||
</fieldset>
|
||||
</div>
|
||||
@@ -24,7 +24,7 @@
|
||||
<div id="add_new_folder_form">
|
||||
<fieldset class="js-will-stick-at-bottom-when-scrolling">
|
||||
<legend class="govuk-visually-hidden">Add new folder</legend>
|
||||
{{ textbox(templates_and_folders_form.add_new_folder_name, width='1-1') }}
|
||||
{{ templates_and_folders_form.add_new_folder_name(param_extensions={"classes": "govuk-!-width-full"}) }}
|
||||
{{ page_footer('Add new folder', button_name='operation', button_value='add-new-folder') }}
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user