<% @payment_methods.each_with_index do |payment, index| %>
" id="<%= payment.slug %>">
<% if payment.options[:type] == 'paypal' %>
Method by Paypal
<%= payment.description %>
<% end %>
<% if payment.options[:type] == 'bank_transfer' %>
Method Bank Transfer
<%= payment.description %>
- Number Account: <%= payment.options[:bank_transfer_number_account] %>
- Details: <%= payment.options[:bank_transfer_detail] %>
<% end %>
<% if payment.options[:type] == 'credit_card' %>
Method Credit Card
<%= payment.description %>

<% end %>
<% if payment.options[:type] == 'authorize_net' %>
Method by Authorize.net
<%= payment.description %>

<% end %>
<% if payment.options[:type] == 'stripe' %>
Method by Stripe
<%= payment.description %>

<% end %>
<% end %>