Sha256: 665835eb38b2f006fe23ad00c59a9b87a24bd54fc89a69dbf3cbbb587fa70a09

Contents?: true

Size: 1.37 KB

Versions: 2

Compression:

Stored size: 1.37 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
        = 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"} )

        = 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

2 entries across 2 versions & 1 rubygems

Version Path
refinerycms-stores-0.0.10 app/views/refinery/orders/orders/edit.html.haml
refinerycms-stores-0.0.9 app/views/refinery/orders/orders/edit.html.haml