Update TemplateAndFoldersSelectionForm fields

Changes its StringFields to GovukTextInputFields.

Includes changes to templates that use this form
and associated tests.
This commit is contained in:
Pea Tyczynska
2020-08-05 11:57:00 +01:00
committed by Tom Byers
parent 3f7142b3e2
commit 1d2a73a1a4
3 changed files with 10 additions and 10 deletions

View File

@@ -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>