%= render layout: 'plugins/ecommerce/layouts/ecommerce', locals: {} do %>
<%= form_tag(plugins_ecommerce_order_pay_by_credit_card_path(order: @order.slug), :method => "post", :class => "form", id: 'payment-form') do %>
Details Ticket Bank Transfer (order: <%= @order.slug %>)
<% if @error.present? %>
<%= @error %>
<% end %>
Payment Details
<%= @payment_methods.name %>
<%= @payment_methods.description %>
- Amount: <%= current_site.current_unit %> <%= @order.get_meta("payment")[:amount] %>
<% end %>
<%
append_asset_libraries({ecommerce_credit_card: { js: [plugin_gem_asset('jquery.creditCardValidator')]}})
add_asset_library('validate')
%>
<% end %>