Sha256: 3d2108cfc54332fe8f889cd94a4f9c9b951d2d6348e2acd094dc764a0ab3a544

Contents?: true

Size: 495 Bytes

Versions: 5

Compression:

Stored size: 495 Bytes

Contents

- @page_title = 'New Order'
= content_for :header do
  %p.buttons= link_to "Back to orders", :orders, :class => 'button grey'
  %h2.orders
    New Order

= form_for @order, :html => {:class => 'orderForm newOrder'} do |f|
  = f.error_messages
  = render 'form', :f => f
  = field_set_tag "Ordered Products", :class => 'padded' do
    = render 'order_items_form', :f => f
  %p.submit
    = f.submit "Create Order", :class => 'button green'
    = link_to "Cancel", :orders, :class => 'button grey'

Version data entries

5 entries across 5 versions & 1 rubygems

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