Sha256: c6aa738bf9effb2bf57bc088ee34d7d17f29528a11e9931c1395b327acee3df8

Contents?: true

Size: 614 Bytes

Versions: 5

Compression:

Stored size: 614 Bytes

Contents

- @page_title = 'Edit Order #' + @order.number

= content_for :header do
  %p.buttons
    = link_to "Back to order", @order, :class => 'button grey'
  %h2.orders Edit OrderĀ <b>##{@order.number}</b>

= form_for @order, :html => {:class => 'orderForm'} do |f|
  = f.error_messages
  = render 'form', :f => f
  
  = field_set_tag "Notes" do
    %dl
      %dd= f.text_area :notes, :class => 'text'

  = field_set_tag "Ordered Products", :class => 'padded' do
    = render 'order_items_form', :f => f

  %p.submit
    = f.submit "Save Order", :class => 'button green'
    = link_to "Cancel", @order, :class => 'button'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
shoppe-1.0.2 app/views/shoppe/orders/edit.html.haml
shoppe-1.0.1 app/views/shoppe/orders/edit.html.haml
shoppe-1.0.0 app/views/shoppe/orders/edit.html.haml
shoppe-0.0.21 app/views/shoppe/orders/edit.html.haml
shoppe-0.0.20 app/views/shoppe/orders/edit.html.haml