mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-05 05:08:24 -04:00
Change move folder form to not have default radio btn and to show hint
Updated the move folder form to add a hint for the radio button for the current folder saying 'current folder'. This hint does not get shown if you are viewing all folders (so you are not inside a folder). Also stopped a default radio button from being selected on the form.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
|
||||
{% if templates_and_folders_form.move_to.choices and template_list.templates_to_show %}
|
||||
<div id="move_to_folder_radios">
|
||||
{{ radios_nested(templates_and_folders_form.move_to, move_to_children, current_option) }}
|
||||
{{ radios_nested(templates_and_folders_form.move_to, move_to_children, option_hints=option_hints) }}
|
||||
{{ page_footer('Move', button_name='operation', button_value='move-to-existing-folder') }}
|
||||
</div>
|
||||
<div id="move_to_new_folder_form">
|
||||
|
||||
Reference in New Issue
Block a user