<%= form_for @payment, html: {class: "veritrans-payment-form"} do |f| %> <%= f.hidden_field :token_id %>

<%= f.label :amount %> <%= f.number_field :amount %>

<%= label_tag :credit_card_number %> <%= text_field_tag :credit_card_number, '4811 1111 1111 1114', name: nil, size: 25 %>

documentation

<%= label_tag :credit_card_cvv %> <%= text_field_tag :credit_card_cvv, '123', name: nil %>

<%= label_tag :credit_card_expire %> <%= text_field_tag :credit_card_expire, '12 / 20', placeholder: "MM / YY", name: nil %>

<%= f.label :credit_card_secure, "3D-secure" %> <%= f.check_box :credit_card_secure %>

<%= f.submit "Pay via VT-Direct" %>

<% end %>