Sha256: b571cb550736cb952527e967912c343fe6f257d857b46de7c443192b3ffb5dce

Contents?: true

Size: 655 Bytes

Versions: 5

Compression:

Stored size: 655 Bytes

Contents

.panel-body#transfer
  = simple_form_for([@member, @payment]) do |f|
    =f.error_notification
    .form-inputs
      = f.input :date, wrapper_html:{class:'col-lg-2'},
        input_html:{value:@payment.date, 
          date_min:min_date,
          date_max:max_date},
        :as=>:date_picker
      = f.input :amount, wrapper_html:{class:'col-lg-2'},
        input_html:{value:two_decimals(@payment.amount)}, :as=>:french_decimal
      = f.input :mode, wrapper_html:{class:'col-lg-3'},
        :collection=>Adherent::MODES, prompt:'Choisissez'
        
    .form-actions
      = f.button :submit, id: 'new_payement', class: "btn-primary col-lg-offset-6"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
adherent-0.2.2.4 app/views/adherent/payments/_form.html.haml
adherent-0.2.2.3 app/views/adherent/payments/_form.html.haml
adherent-0.2.2.2 app/views/adherent/payments/_form.html.haml
adherent-0.2.2.1 app/views/adherent/payments/_form.html.haml
adherent-0.2.2 app/views/adherent/payments/_form.html.haml