Sha256: 142f79b6a22028fb946b94bf449349efc1788e4292668e0bb5a7c61b96cefae0
Contents?: true
Size: 1.48 KB
Versions: 3
Compression:
Stored size: 1.48 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.human_name(: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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
spree_core-0.30.2 | app/views/admin/orders/_user_form.html.erb |
spree_core-0.30.1 | app/views/admin/orders/_user_form.html.erb |
spree_core-0.30.0 | app/views/admin/orders/_user_form.html.erb |