Sha256: c75b800c56fca576999d82ef4209d968406f900952ebd01e537a51ca971802bf

Contents?: true

Size: 849 Bytes

Versions: 9

Compression:

Stored size: 849 Bytes

Contents

.panel-body#transfer
  = simple_form_for([@member, @payment]) do |f|
    =f.error_notification
    .form-inputs
      .row
        = 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 :comment, wrapper_html:{class:'col-lg-5'}, 
          hint:'Factultatif. Si rempli, sera utilisé pour le libéllé de l\'écriture en compta'
        = 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-2 col-lg-offset-7"

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
adherent-0.3.13 app/views/adherent/payments/_form.html.haml
adherent-0.3.12 app/views/adherent/payments/_form.html.haml
adherent-0.3.11 app/views/adherent/payments/_form.html.haml
adherent-0.3.10 app/views/adherent/payments/_form.html.haml
adherent-0.3.9 app/views/adherent/payments/_form.html.haml
adherent-0.3.7 app/views/adherent/payments/_form.html.haml
adherent-0.3.6 app/views/adherent/payments/_form.html.haml
adherent-0.3.5 app/views/adherent/payments/_form.html.haml
adherent-0.3.4 app/views/adherent/payments/_form.html.haml