tab/app/views/partials/_form_errors.html.haml

11 lines
232 B
Text
Raw Normal View History

2015-09-09 17:06:39 +02:00
- 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