2015-09-09 17:06:39 +02:00
|
|
|
- if object.errors.any?
|
2015-09-10 21:12:03 +02:00
|
|
|
.panel.panel-error
|
|
|
|
.panel-header
|
|
|
|
%h3.panel-title
|
2015-09-09 17:06:39 +02:00
|
|
|
This transaction could not be saved.
|
2015-09-10 21:12:03 +02:00
|
|
|
.panel-body
|
2015-09-09 17:06:39 +02:00
|
|
|
%ul
|
|
|
|
- object.errors.full_messages.each do |tr|
|
|
|
|
%li
|
|
|
|
= tr
|