tab/app/views/partials/_form_errors.html.haml
2015-09-09 17:06:39 +02:00

10 lines
232 B
Text

- if object.errors.any?
.error_panel
.error_header
%h3.error_title
This transaction could not be saved.
.error_body
%ul
- object.errors.full_messages.each do |tr|
%li
= tr