improve flash error collection
improve views
This commit is contained in:
parent
6bd2e5e335
commit
261d7dd0de
4 changed files with 15 additions and 19 deletions
|
|
@ -4,11 +4,6 @@
|
|||
%h1
|
||||
Payment Summary :
|
||||
= humanized_money_with_symbol @total_amount_to_pay
|
||||
- if @payment.errors.any?
|
||||
.alert.alert-danger
|
||||
%ul
|
||||
- @payment.errors.full_messages.each do |msg|
|
||||
%li= msg
|
||||
.col-xs-8.col-xs-offset-2.well
|
||||
= render partial: 'payment'
|
||||
.row
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue