diff --git a/advlabdb/advlabdb_independent_funs.py b/advlabdb/advlabdb_independent_funs.py index 072d9c8..f7c6c94 100644 --- a/advlabdb/advlabdb_independent_funs.py +++ b/advlabdb/advlabdb_independent_funs.py @@ -30,7 +30,7 @@ def deep_getattr(object, composed_name): def missing_formatter(view, context, model, name): attr = deep_getattr(model, name) if attr is None: - return Markup("MISSING") + return Markup("MISSING") return attr diff --git a/advlabdb/forms.py b/advlabdb/forms.py index cd7b503..fc54069 100644 --- a/advlabdb/forms.py +++ b/advlabdb/forms.py @@ -6,7 +6,7 @@ from .model_dependent_funs import selection_mark_field class AssistantGroupExperimentFormBase(FlaskForm): - submit = SubmitField(label="Submit", render_kw={"class": "btn btn-success"}) + submit = SubmitField(label="Save", render_kw={"class": "btn btn-primary btn-block"}) def assistant_group_experiment_form_factory(current_user, group_experiment): diff --git a/advlabdb/templates/assistant_group_experiment_form.html b/advlabdb/templates/assistant_group_experiment_form.html index da600f0..893cfbe 100644 --- a/advlabdb/templates/assistant_group_experiment_form.html +++ b/advlabdb/templates/assistant_group_experiment_form.html @@ -102,7 +102,7 @@
Coming soon…
-Coming soon...