Merge pull request 'Use correct button labels in instance forms' (#332) from 242-save-button into main
All checks were successful
Build and Deploy Staging / build (push) Successful in 41s
Tests / test (push) Successful in 30s
Build and Deploy Staging / deploy (push) Successful in 6s

Reviewed-on: #332
Reviewed-by: Tobias Brunner <tobias.brunner@vshn.ch>
This commit is contained in:
Tobias Kunze 2025-12-10 10:56:32 +00:00
commit 7326438470
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." %} {% translate "Oops! Something went wrong with the service form generation. Please try again later." %}
</div> </div>
{% else %} {% 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 %} {% endif %}
</div> </div>
</div> </div>

View file

@ -22,7 +22,8 @@
{% translate "Oops! Something went wrong with the service form generation. Please try again later." %} {% translate "Oops! Something went wrong with the service form generation. Please try again later." %}
</div> </div>
{% else %} {% 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 %} {% endif %}
</div> </div>
</div> </div>