Use correct button labels in instance forms
All checks were successful
Tests / test (push) Successful in 29s

closes #242
This commit is contained in:
Tobias Kunze 2025-12-09 13:27:45 +01:00
parent 97633c4c36
commit df9ad3171e
2 changed files with 4 additions and 2 deletions

View file

@ -26,7 +26,8 @@
{% translate "Oops! Something went wrong with the service form generation. Please try again later." %}
</div>
{% else %}
{% include "includes/tabbed_fieldset_form.html" with form=custom_service_form expert_form=service_form hide_form_errors=True %}
{% translate "Create" as create_label %}
{% include "includes/tabbed_fieldset_form.html" with form=custom_service_form expert_form=service_form form_submit_label=create_label hide_form_errors=True %}
{% endif %}
</div>
</div>

View file

@ -22,7 +22,8 @@
{% translate "Oops! Something went wrong with the service form generation. Please try again later." %}
</div>
{% else %}
{% include "includes/tabbed_fieldset_form.html" with form=custom_form expert_form=form hide_form_errors=True %}
{% translate "Update" as update_label %}
{% include "includes/tabbed_fieldset_form.html" with form=custom_form expert_form=form form_submit_label=update_label hide_form_errors=True %}
{% endif %}
</div>
</div>