Commit deaaa3e9 authored by Zsolt Benke's avatar Zsolt Benke
Browse files

Fix validation flash message for simple_form

parent 4d5b8691
Pipeline #19874 failed with stage
in 50 minutes and 47 seconds
......@@ -4,7 +4,8 @@ module ApplicationHelper
end
def simple_error_notice(f)
boostrap_row { f.error_notification } if f.error_notification.present?
error_message = "Es sind Fehler aufgetreten. Bitte überprüfen Sie die rot markierten Felder."
boostrap_row { f.error_notification message: error_message } if f.error_notification.present?
end
def link_to_add_polymorphic_association(*args)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment