Sha256: da6d445b8a6cba27de992b76b032647629fdb33424fc50c1831b7005ebf51ca3
Contents?: true
Size: 1.64 KB
Versions: 11
Compression:
Stored size: 1.64 KB
Contents
<h1><%=translate('muck.commerce.billing_information_edit_title', :name => @billing_information.billable.display_name) %></h1> <%= output_errors('', {:class => 'help-box'}, @billing_information) %> <% custom_form_for(@billing_information, :url => admin_billing_information_path, :html => { :method => :put }) do |f| -%> <%= f.text_field :first_name, { :label => t('muck.commerce.first_name' ) } %> <%= f.text_field :last_name, { :label => t('muck.commerce.last_name' ) } %> <%= f.text_field :address1, { :label => t('muck.commerce.address1' ) } %> <%= f.text_field :address2, { :label => t('muck.commerce.address2' ) } %> <%= f.text_field :city, { :label => t('muck.commerce.city' ) } %> <%= f.state_select :state_id, { :label => t('muck.commerce.state' ) } %> <%= f.country_select :country_id, { :label => t('muck.commerce.country' ) } %> <%= f.text_field :city, { :label => t('muck.commerce.city' ) } %> <%= f.text_field :postal_code, { :label => t('muck.commerce.postal_code' ) } %> <%= f.credit_card_type_select :credit_card_type, { :label => t('muck.commerce.credit_card_type' ) } %> <%= f.text_field :credit_card_number, { :label => t('muck.commerce.credit_card_number' ) } %> <%= f.text_field :verification_value, { :label => t('muck.commerce.verification_value' ) } %> <%= f.date_select(:credit_card_expiration, :start_year => Time.now.year, :end_year => Time.now.year + 15, :use_month_numbers => true, :discard_day => true, :include_blank => false, :order => [:month, :year]) %> <%= f.check_box :default, { :label => t('muck.commerce.default_payment_option' ) } -%> <%= submit_tag t('muck.commerce.update') %> <% end -%>
Version data entries
11 entries across 11 versions & 1 rubygems