Use correct button labels in instance forms #332

Merged
rixx merged 1 commit from 242-save-button into main 2025-12-10 10:56:32 +00:00
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>