Sha256: 8411f2e5a1790bd95d5c94413d21416b1bc57a0e56298d6a4469b54efbf0bbec
Contents?: true
Size: 1.47 KB
Versions: 6
Compression:
Stored size: 1.47 KB
Contents
<% order_form.fields_for :creditcards do |creditcard_form| %> <h2><%= t("payment_information") %></h2> <div class="inner"> <p> <%= image_tag "creditcard.gif", :id => 'creditcard-image' %> </p> <p> <label for=""><%= t("card_number") %></label> <%= creditcard_form.text_field :number, :size=> 19, :max_length => 19, :class => 'required' -%><span class="req">*</span> </p> <p> <label for=""><%= t("expiration") %></label> <%= select_month(Date.today, :prefix => 'order[creditcards_attributes][0]', :field_name => 'month', :use_month_numbers => true, :class => 'required') -%> <%= select_year(Date.today, :prefix => 'order[creditcards_attributes][0]', :field_name => 'year', :start_year => Date.today.year, :end_year => Date.today.year + 15, :class => 'required') -%> <span class="req">*</span> </p> <p> <label for=""><%= t("card_code") %></label> <%= creditcard_form.text_field :verification_value, {:style => 'width:40px', :class => 'required'} -%><span class="req">*</span> <a href="" onclick="window.open('/content/cvv','mywin','left=20,top=20,width=500,height=500,toolbar=0,resizable=0,scrollbars=1');return false"> (<%= t("whats_this") %>) </a> </p> <div class="form-buttons"> <input id="continue_payment" type="button" class="button primary" value="<%=t("continue")%>"/> </div> <%= creditcard_form.hidden_field :first_name -%> <%= creditcard_form.hidden_field :last_name -%> </div> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems