Fix service settings form submitting with incorrect entity name
This commit is contained in:
parent
7971df9ac0
commit
fa7ed8409a
|
@ -21,6 +21,6 @@
|
|||
form: { class: "d-inline" }
|
||||
|
||||
.col-md-6.mt-2
|
||||
= bootstrap_form_for(service, url: update_service_path(service)) do |f|
|
||||
= bootstrap_form_for(service, as: "service", url: update_service_path(service)) do |f|
|
||||
= f.text_field :post_tag, label_as_placeholder: true,
|
||||
append: f.submit(t("voc.update"), class: "btn btn-primary"), maxlength: 20, pattern: "^[^@]*$"
|
||||
|
|
Loading…
Reference in New Issue