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:
Katie Smith
2019-01-02 17:12:18 +00:00
parent 501ec2a534
commit 3cf36c592f
5 changed files with 61 additions and 4 deletions

View File

@@ -43,11 +43,10 @@
option_hints={},
hide_legend=False
) %}
{% set disable = [current_option_id] %}
{% call radios_wrapper(
field, hint, disable, option_hints, hide_legend
) %}
{{ radio_list(child_map[None], child_map, disable) }}
{{ radio_list(child_map[None], child_map, disable, option_hints) }}
{% endcall %}
{% endmacro %}