From 52c5555f659db69995296c6b3bad68244ceeb2f4 Mon Sep 17 00:00:00 2001 From: Javier Hernandez Date: Thu, 21 Dec 2023 11:42:37 +0100 Subject: templates: rename 'create' button to 'submit' In client_details template, rename 'create' button to 'submit'. This template is used by both client-add and client-edit commands; it would not make sense to have a 'Create' button in client-edit. --- ogcp/forms/action_forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ogcp/forms') diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py index 3d02f8a..64b292a 100644 --- a/ogcp/forms/action_forms.py +++ b/ogcp/forms/action_forms.py @@ -122,7 +122,7 @@ class ClientDetailsForm(FlaskForm): repo = SelectField(label=_l('Repository')) room = SelectField(label=_l('Room')) boot = SelectField(label=_l('Boot Mode')) - create = SubmitField(label=_l('Create')) + submit = SubmitField(label=_l('Submit')) class ImportClientsForm(FlaskForm): server = HiddenField() -- cgit v1.2.3-18-g5258