Sha256: c5c424d2d31cb10794321aee2da2035de592fbadc3f89171875fc9e674a5e1c8
Contents?: true
Size: 1.49 KB
Versions: 24
Compression:
Stored size: 1.49 KB
Contents
<h3><%= t("customer_details") %></h3> <table class="index"> <thead> <th colspan="8"><%= t('account') %></th> </thead> <tbody> <tr> <td class="lbl-col"><%= f.label :email, t(:email)+':' %></td> <td class="val-col" colspan="3"><%= f.text_field :email, :class => "fullwidth" %></td> <td class="lbl-col"><label><%= t('guest_checkout') %>:</label></td> <td class="val-col" colspan="3"> <% if @order.completed? %> <%= @order.user.nil? ? "Yes" : "No" %> <% else %> <label class="sub"> <%= radio_button_tag :guest_checkout, true, @order.user.nil? %> <%= t("yes") %> </label> <label class="sub"> <%= radio_button_tag :guest_checkout, false, !@order.user.nil?, :disabled => @order.cart? %> <%= t("no") %> </label> <%= hidden_field_tag :user_id, @order.user_id %> <% end %> </td> </tr> </tbody> </table> <h3><%= Address.model_name.human(:count => 2) %></h3> <%= f.fields_for :bill_address do |ba_form| %> <%= render :partial => "admin/shared/address_form", :locals => {:f => ba_form, :name => t('billing_address'), :use_billing => false} %> <% end %> <%= f.fields_for :ship_address do |sa_form| %> <%= render :partial => "admin/shared/address_form", :locals => {:f => sa_form, :name => t('shipping_address'), :use_billing => true} %> <% end %> <p class="form-buttons"> <%= button @order.cart? ? t('continue') : t('update') %> </p>
Version data entries
24 entries across 24 versions & 6 rubygems