From d4a9fb52a57eeae825527d6fc2af9f1d7e886acc Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Wed, 5 Dec 2018 11:31:02 +0000 Subject: [PATCH] Use normal radio field for add template choices MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It doesn’t have a ‘none’ option. --- app/main/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/forms.py b/app/main/forms.py index d46815e8d..874e277a6 100644 --- a/app/main/forms.py +++ b/app/main/forms.py @@ -1241,7 +1241,7 @@ class TemplateAndFoldersSelectionForm(Form): add_new_folder_name = StringField('Folder name', validators=[required_for_ops('add_new_folder')]) move_to_new_folder_name = StringField('Folder name', validators=[required_for_ops('move_to_new_folder')]) - add_template_by_template_type = RadioFieldWithNoneOption('Add new', validators=[ + add_template_by_template_type = RadioField('Add new', validators=[ Optional(), required_for_ops('add_template') ])