Sha256: 29cf87d2573383f633c40255d9f1e4416126dd1dc0494830b1bb417d2517e212

Contents?: true

Size: 1.42 KB

Versions: 5

Compression:

Stored size: 1.42 KB

Contents

- content_for :stylesheets do
  = stylesheet_link_tag('refinery/refinerycms-stores')

- content_for :body_content_title do
  %h1 Order Shipping & Billing

- content_for :body_content_left do

  %section
    .modal-form.basic-form
      = render '/refinery/admin/error_messages', :object => @order, :include_object_name => true 
      = form_tag( refinery.orders_order_path(@order), :method => :put, :id => 'payment-form' ) do
        %h3 Your Billing Information
        = render( :partial => "address_form", :object => @billing_address,  :locals => { :as_name => :billing_address } )
          
        %h3 Your Shipping Information
        .form-lines.no-width
          = check_box_tag( :use_billing, '1', false, { :onclick => "$('#shipping_address').toggle();" } )
          = label_tag( :use_billing, 'use billing address for shipping', {:title => "use billing address for shipping"} )
        %br
        = render( :partial => "address_form", :object => @shipping_address, :locals => { :as_name => :shipping_address } )

        %h3 Your Payment Method

        = render :partial => "card_form"
        
        = link_to( 'cancel', refinery.cancel_order_orders_order_path( @order ) )
        = submit_tag( 'continue', :class => "modal-submit submit-button", :value => "continue »".html_safe )


- content_for :body_content_right do
  %aside
    = render :partial => "order_snapshot", :object => @order

= render "/refinery/content_page"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
refinerycms-stores-0.0.16 app/views/refinery/orders/orders/edit.html.haml
refinerycms-stores-0.0.14 app/views/refinery/orders/orders/edit.html.haml
refinerycms-stores-0.0.13 app/views/refinery/orders/orders/edit.html.haml
refinerycms-stores-0.0.12 app/views/refinery/orders/orders/edit.html.haml
refinerycms-stores-0.0.11 app/views/refinery/orders/orders/edit.html.haml