Sha256: a540c5e31325daf4cd5ae8f27c4c6511fbdb3d60e0c856a4af857d7d80b3940a

Contents?: true

Size: 594 Bytes

Versions: 11

Compression:

Stored size: 594 Bytes

Contents

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

Version data entries

11 entries across 11 versions & 3 rubygems

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