Cosmetics
This commit is contained in:
parent
ab335decd3
commit
cde992a194
12 changed files with 53 additions and 49 deletions
|
|
@ -1,8 +1,8 @@
|
|||
|
||||
|
||||
= turbo_frame_tag dom_id(@success_criterion.element, :new_success_criterion_frame) do
|
||||
.border.border-info.p-3
|
||||
.border.p-3
|
||||
= bootstrap_form_with(url: create_from_checklist_element_success_criteria_path(@success_criterion.element), name: :new_from_checklist) do |form|
|
||||
= form.collection_select :checklist_id, Checklist.all.order(:name), :id, :name
|
||||
= form.submit class: "btn btn-warning"
|
||||
= form.collection_select :checklist_id, Checklist.all.order(:name), :id, :name, hide_label: true
|
||||
= form.submit "Hinzufügen", class: "btn btn-primary"
|
||||
= link_to "Abbrechen", @success_criterion.persisted? ? @success_criterion : @success_criterion.element, class: "btn btn-outline-secondary"
|
||||
Loading…
Add table
Add a link
Reference in a new issue