Sha256: c93a49ebe9daee139d2efaae450d66b1d8bffe0dcade96436dd6798518fd7560

Contents?: true

Size: 766 Bytes

Versions: 9

Compression:

Stored size: 766 Bytes

Contents

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

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

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

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
kkt_shoppe-2.0.2 app/views/kkt_shoppe/orders/edit.html.haml
kkt_shoppe-2.0.1 app/views/kkt_shoppe/orders/edit.html.haml
kkt_shoppe-2.0.0 app/views/kkt_shoppe/orders/edit.html.haml
kkt_shoppe-1.3.0 app/views/kkt_shoppe/orders/edit.html.haml
kkt_shoppe-1.2.1 app/views/kkt_shoppe/orders/edit.html.haml
kkt_shoppe-1.2.0 app/views/kkt_shoppe/orders/edit.html.haml
kkt_shoppe-1.1.2 app/views/kkt_shoppe/orders/edit.html.haml
kkt_shoppe-1.1.1 app/views/kkt_shoppe/orders/edit.html.haml
kkt_shoppe-1.1.0 app/views/kkt_shoppe/orders/edit.html.haml