<%= image_tag 'pay-easy.png' %>

<% param_prefix = "payment_source[#{payment_method.id}]" %>

<%= label_tag "email", Spree.t(:email) %>*
<%= text_field_tag "#{param_prefix}[email]", @order.email, { id: "email", class: 'form-control required'} %>

<%= label_tag "phone", Spree.t(:phone) %>*
<%= text_field_tag "#{param_prefix}[phone]", @order.billing_address.phone, { id: "phone", class: 'form-control required'} %>

<%= label_tag "family_name", Spree.t(:family_name) %>*
<%= text_field_tag "#{param_prefix}[family_name]", @order.billing_lastname, { id: "family_name", class: 'form-control required'} %>
<%= label_tag "given_name", Spree.t(:given_name) %>*
<%= text_field_tag "#{param_prefix}[given_name]", @order.billing_firstname, { id: "given_name", class: 'form-control required'} %>
<%= label_tag "family_name_kana", Spree.t(:family_name_kana) %>*
<%= text_field_tag "#{param_prefix}[family_name_kana]", "", { id: "family_name_kana", class: 'form-control required'} %>
<%= label_tag "given_name_kana", Spree.t(:given_name_kana) %>*
<%= text_field_tag "#{param_prefix}[given_name_kana]", "", { id: "given_name_kana", class: 'form-control required'} %>