Sha256: 7c5d306851f336ffd8f51655aeb8149ef9144bba2ee716800449f3dbf0e4f42e

Contents?: true

Size: 492 Bytes

Versions: 6

Compression:

Stored size: 492 Bytes

Contents

= form_for [@order, Shoppe::Payment.new(:amount => @order.balance)] do |f|
  %dl.text
    %dt= f.label :method
    %dd= f.text_field :method, :class => 'text'
  %dl.text
    %dt= f.label :reference
    %dd= f.text_field :reference, :class => 'text'
  %dl.amount
    %dt= f.label :amount
    %dd
      .moneyInput
        .currency= Shoppe.settings.currency_unit.html_safe
        = f.text_field :amount, :class => 'text'
  %dl.submit
    %dd= f.submit "Add Payment", :class => 'button green'

Version data entries

6 entries across 6 versions & 1 rubygems

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