Sha256: cb2c2c1e2b9a716c1d613d9d7d6aa82480a167e86387e59061bec287d200df14

Contents?: true

Size: 1.64 KB

Versions: 6

Compression:

Stored size: 1.64 KB

Contents

<%= image_tag "creditcard.gif", :id => 'creditcard-image' %>
<% param_prefix = "payment_source[#{payment_method.id}]" %>

<p class="field">
  <label for=""><%= t("card_number") %></label><br />
  <% options_hash = Rails.env.production? ? {:autocomplete => "off"} : {} %>
  <%= text_field_tag "#{param_prefix}[number]", '', options_hash.merge(:class => 'required', :size => 19, :maxlength => 19) %>
  <span class="req">*</span>
  &nbsp;
  <span id="card_type" style="display:none;">
    ( <span id="looks_like" ><%= t('card_type_is') %> <span id="type"></span></span>
      <span id="unrecognized"><%= t('unrecognized_card_type') %></span>
    )
  </span>
</p>
<p class="field">
  <label for=""><%= t("expiration") %></label><br />
  <%= select_month(Date.today, :prefix => param_prefix, :field_name => 'month', :use_month_numbers => true, :class => 'required') %>
  <%= select_year(Date.today, :prefix => param_prefix, :field_name => 'year', :start_year => Date.today.year, :end_year => Date.today.year + 15, :class => 'required') %>
  <span class="req">*</span>
</p>
<p class="field">           
  <label for=""><%= t("card_code") %></label><br />
  <%= text_field_tag "#{param_prefix}[verification_value]", '', options_hash.merge(:class => 'required', :size => 5) %>
  <span class="req">*</span>
  <a href="/content/cvv" target="_blank" onclick="window.open(this.href,'cvv_info','left=20,top=20,width=500,height=500,toolbar=0,resizable=0,scrollbars=1');return false">
    (<%= t("whats_this") %>)
  </a>
</p>
<%= hidden_field param_prefix, 'first_name', :value => @order.billing_firstname %>
<%= hidden_field param_prefix, 'last_name',  :value => @order.billing_lastname %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spree_core-0.30.2 app/views/checkout/payment/_gateway.html.erb
spree_core-0.40.2 app/views/checkout/payment/_gateway.html.erb
spree_core-0.40.1 app/views/checkout/payment/_gateway.html.erb
spree_core-0.40.0 app/views/checkout/payment/_gateway.html.erb
spree_core-0.30.1 app/views/checkout/payment/_gateway.html.erb
spree_core-0.30.0 app/views/checkout/payment/_gateway.html.erb