mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-26 20:56:48 +00:00
12 lines
336 B
Plaintext
12 lines
336 B
Plaintext
- if target && target.errors.any?
|
|
#errorExplanation.errorExplanation
|
|
%h2
|
|
= Spree.t(:errors_prohibited_this_record_from_being_saved, count: target.errors.count)
|
|
\:
|
|
%p
|
|
= Spree.t(:there_were_problems_with_the_following_fields)
|
|
\:
|
|
%ul
|
|
- target.errors.full_messages.each do |msg|
|
|
%li= msg
|