Sha256: bc9457e4fad4ebfd85885f6cd1a3a8fae759db12426230e73829e319e6444388

Contents?: true

Size: 813 Bytes

Versions: 11

Compression:

Stored size: 813 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 :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-offset-9"

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
adherent-0.3.3 app/views/adherent/payments/_form.html.haml
adherent-0.3.2 app/views/adherent/payments/_form.html.haml
adherent-0.3.1 app/views/adherent/payments/_form.html.haml
adherent-0.3.0 app/views/adherent/payments/_form.html.haml
adherent-0.2.9 app/views/adherent/payments/_form.html.haml
adherent-0.2.8 app/views/adherent/payments/_form.html.haml
adherent-0.2.7 app/views/adherent/payments/_form.html.haml
adherent-0.2.6 app/views/adherent/payments/_form.html.haml
adherent-0.2.5 app/views/adherent/payments/_form.html.haml
adherent-0.2.4 app/views/adherent/payments/_form.html.haml
adherent-0.2.3 app/views/adherent/payments/_form.html.haml