cosmetics
Some checks failed
/ Run tests (push) Successful in 2m3s
/ Run system tests (push) Failing after 2m22s
/ Build, push and deploy image (push) Successful in 1m38s

This commit is contained in:
david 2024-11-24 03:58:28 +01:00
parent e1dfb14d4d
commit 650bec3f57
2 changed files with 3 additions and 23 deletions

View file

@ -1,5 +1,6 @@
h2 Kommentar bearbeiten
= bootstrap_form_with(model: @success_criterion.persisted? ? @success_criterion : [:element, @success_criterion], data: { controller: "unsaved-changes" }) do |form|
= form.rich_text_area :test_comment
= form.rich_text_area :test_comment, hide_label: true
= form.submit class: "btn btn-primary"
- unless modal?
=< link_to "Abbrechen", @success_criterion.persisted? ? @success_criterion : @success_criterion.element, class: "btn btn-outline-secondary"