Fix service settings form submitting with incorrect entity name

This commit is contained in:
Karina Kwiatek 2022-02-01 23:07:25 +01:00 committed by Karina Kwiatek
parent 7971df9ac0
commit fa7ed8409a
1 changed files with 1 additions and 1 deletions

View File

@ -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: "^[^@]*$"