Sha256: 09c0394c7a4bb8ec0301e21fa90ec0bdecc49471dcd9239e206799061457fcfa

Contents?: true

Size: 738 Bytes

Versions: 10

Compression:

Stored size: 738 Bytes

Contents

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

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

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

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
tienda-2.1.3 app/views/tienda/orders/edit.html.haml
tienda-2.1.2 app/views/tienda/orders/edit.html.haml
tienda-2.1.1 app/views/tienda/orders/edit.html.haml
tienda-2.1.0 app/views/tienda/orders/edit.html.haml
tienda-2.0.2 app/views/tienda/orders/edit.html.haml
tienda-2.0.1 app/views/tienda/orders/edit.html.haml
tienda-1.1.2 app/views/tienda/orders/edit.html.haml
tienda-1.1.1 app/views/tienda/orders/edit.html.haml
tienda-1.1.0 app/views/tienda/orders/edit.html.haml
tienda-1.0.0 app/views/tienda/orders/edit.html.haml