tab/app/views/partials/_form_errors.html.haml
2015-09-10 21:12:03 +02:00

10 lines
238 B
Text

- if object.errors.any?
.panel.panel-error
.panel-header
%h3.panel-title
This transaction could not be saved.
.panel-body
%ul
- object.errors.full_messages.each do |tr|
%li
= tr