Sha256: 8d451deca7eef230537e9411cf0aac34cf43dfb6df6fe3e5d58027c9de0d35f7

Contents?: true

Size: 947 Bytes

Versions: 8

Compression:

Stored size: 947 Bytes

Contents

.panel-body#transfer
  = simple_form_for([@member, @adhesion], :html=>{class:'form-horizontal'},
    wrapper: :horizontal_form)  do |f|
    =f.error_notification
    .form-inputs
      = f.input :from_date, 
        wrapper_html:{class:'col-lg-4'},
        my_wrapper_html:{class:'col-lg-9'},
        input_html:{value:@adhesion.from_date},
        :as=>:date_picker
      = f.input :to_date, wrapper_html:{class:'col-lg-3'}, 
        wrapper_html:{class:'col-lg-4'},
        my_wrapper_html:{class:'col-lg-9'},
        input_html:{value:@adhesion.to_date}, :as=>:date_picker
      = f.input :amount, wrapper_html:{class:'col-lg-3'},
        wrapper_html:{class:'col-lg-4'},
        label_html:{class:'col-lg-4'},
        my_wrapper_html:{class:'col-lg-8'},
        input_html:{value:two_decimals(@adhesion.amount)}, :as=>:french_decimal
    .form-actions
      = f.button :submit, id: 'new_adhesion', class: "btn-primary col-md-2 col-md-offset-2"

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
adherent-0.2.3 app/views/adherent/adhesions/_form.html.haml
adherent-0.2.2.4 app/views/adherent/adhesions/_form.html.haml
adherent-0.2.2.3 app/views/adherent/adhesions/_form.html.haml
adherent-0.2.2.2 app/views/adherent/adhesions/_form.html.haml
adherent-0.2.2.1 app/views/adherent/adhesions/_form.html.haml
adherent-0.2.2 app/views/adherent/adhesions/_form.html.haml
adherent-0.2.1 app/views/adherent/adhesions/_form.html.haml
adherent-0.2.0 app/views/adherent/adhesions/_form.html.haml