pic_vert_app/app/views/public/joins/paid.html.haml
Nicolas Bally 429325823c suite
2019-06-02 18:48:14 +02:00

40 lines
1.2 KiB
Plaintext

%h1 Adhérer
%p
=semantic_form_for @sheet, :url => save_sheet_public_joins_path(), :html => {:method => :get} do |form|
=form.inputs do
%h3
Votre adhésion
=Renew::YEAR
=":"
%p
Merci de nous envoyer votre chèque de réglement par courrier ou de passer régler votre adhésion en espèce au local de l'association : 24 place de la Mairie, 38140 Réaumont
.sheet_years_form
=form.semantic_fields_for :sheet_years do |f|
.field
=f.hidden_field :year
%br
=form.input :error_join, :label => false, :input_html => {:style => "display:none;"}
%p
Montant de l'adhésion :
=number_to_currency f.object.amount
=# f.input :join_type, :collection => {"Individuel (10€)" => 1, "Familial (15€)" => 2}, :as => :select, :label => "Type d'adhésion :", :include_blank => false
= f.input :payment_type, :collection => SheetYear::PAYMENT_TYPE.map {|u| [u[1], u[0]] }, :as => :select, :label => "Type de paiement : ", :include_blank => false
= form.submit 'Changer mon mode de paiement', :class => "btn btn-success"