Sha256: d6ed11e0e2e315d206d3b8b82d5de806439b72ee91a9954f37dc8aae53588b6e

Contents?: true

Size: 738 Bytes

Versions: 11

Compression:

Stored size: 738 Bytes

Contents

- @page_title = "#{t('shoppe.orders.edit_order')} ##{@order.number}"

= content_for :header do
  %p.buttons
    = link_to t('shoppe.orders.back_to_order'), @order, :class => 'button grey'
  %h2.orders "#{t('shoppe.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  t('shoppe.orders.notes') do
    %dl
      %dd= f.text_area :notes, :class => 'text'

  = field_set_tag t('shoppe.orders.ordered_products'), :class => 'padded' do
    = render 'order_items_form', :f => f

  %p.submit
    = f.submit t('shoppe.orders.save_order') , :class => 'button green'
    = link_to t('shoppe.cancel'), @order, :class => 'button'

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
shoppe-1.1.2 app/views/shoppe/orders/edit.html.haml
shoppe-1.1.1 app/views/shoppe/orders/edit.html.haml
shoppe-1.1.0 app/views/shoppe/orders/edit.html.haml
shoppe-1.0.9 app/views/shoppe/orders/edit.html.haml
shoppe-1.0.8 app/views/shoppe/orders/edit.html.haml
kylekthompson-shoppe-1.0.7 app/views/shoppe/orders/edit.html.haml
shoppe-1.0.7 app/views/shoppe/orders/edit.html.haml
shoppe-1.0.6 app/views/shoppe/orders/edit.html.haml
shoppe-paypal-1.1.0 vendor/bundle/ruby/2.1.0/gems/shoppe-1.0.5/app/views/shoppe/orders/edit.html.haml
shoppe-1.0.5 app/views/shoppe/orders/edit.html.haml
shoppe-1.0.3 app/views/shoppe/orders/edit.html.haml