mod/standard/set/all/rich_html/error.rb in card-1.96.5 vs mod/standard/set/all/rich_html/error.rb in card-1.96.6
- old
+ new
@@ -105,10 +105,10 @@
# TODO: make this a modal link after new modal handling is merged in
wrap_with(:span, title: error_message(exception)) { cardname }
end
def standard_error_message attribute, message
- "<strong>#{h attribute.to_s.upcase}:</strong> #{h message}"
+ "<div><strong>#{h attribute.to_s.upcase}:</strong> #{h message}</div>"
end
def not_found_errors
if card.errors.any?
standard_errors