Sha256: 9cf0499eae1dd938135fcabdf05d8b6dffcf2e1f808207c9753316a5800db5a1

Contents?: true

Size: 594 Bytes

Versions: 4

Compression:

Stored size: 594 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tienda-1.1.2 app/views/tienda/orders/_payments_form.html.haml
tienda-1.1.1 app/views/tienda/orders/_payments_form.html.haml
tienda-1.1.0 app/views/tienda/orders/_payments_form.html.haml
tienda-1.0.0 app/views/tienda/orders/_payments_form.html.haml