app/views/deposit/layouts/deposit_application.html.erb in killbill-deposit-1.0.1 vs app/views/deposit/layouts/deposit_application.html.erb in killbill-deposit-1.0.2

- old
+ new

@@ -1,31 +1,34 @@ <!DOCTYPE html> <html> -<head> - <title>Deposit</title> - <%= yield :scripts %> - <%= stylesheet_link_tag 'application', :media => 'all' %> - <%= javascript_include_tag 'application' %> - <%= csrf_meta_tags %> -</head> -<div class="container-fluid"> - <%- # :alert used by devise -%> - <% [:error, :alert].each do |key| %> - <% if flash[key] %> + <head> + <title>Deposit</title> + <%= yield :scripts %> + <%= stylesheet_link_tag 'application', :media => 'all' %> + <%= javascript_include_tag 'application' %> + <%= csrf_meta_tags %> + </head> + <body> + <div class="container"> + <div class="container-fluid"> + <%- # :alert used by devise -%> + <% [:error, :alert].each do |key| %> + <% if flash[key] %> + <div class="row"> + <div class="col-md-10 col-md-offset-2"> + <div class="alert alert-error"><%= flash[key] %></div> + </div> + </div> + <% end %> + <% end %> + <% if flash[:notice] %> <div class="row"> <div class="col-md-10 col-md-offset-2"> - <div class="alert alert-error"><%= flash[key] %></div> + <div class="alert alert-info"><%= flash[:notice] %></div> </div> </div> <% end %> - <% end %> - <% if flash[:notice] %> - <div class="row"> - <div class="col-md-10 col-md-offset-2"> - <div class="alert alert-info"><%= flash[:notice] %></div> - </div> + <%= yield %> </div> - <% end %> - <%= yield %> -</div> -</body> + </div> + </body> </html>