This commit is contained in:
Nicolas Bally 2019-06-04 19:23:47 +02:00
parent b275ee0bab
commit b3117a2eb5
5 changed files with 6 additions and 6 deletions

View File

@ -13,7 +13,7 @@ class SheetYear < ActiveRecord::Base
JOIN_TYPE = {1 => "Individuel", 2 => "Familial", 3 =>"Association"}
JOIN_TYPE = {1 => "Individuelle", 2 => "Familiale", 3 =>"Association"}
PAYMENT_TYPE = {1 => "Chèque", 2 => "Liquide", 3 => "Paypal (ou carte bancaire)"}
before_validation do

View File

@ -26,7 +26,7 @@
%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 :join_type, :collection => {"Individuelle (10€)" => 1, "Familiale (15€)" => 2}, :as => :select, :label => "Type d'adhésion :", :include_blank => false

View File

@ -44,7 +44,7 @@
%br
=form.input :error_join, :label => false, :input_html => {:style => "display:none;"}
= f.input :join_type, :collection => {"Individuel (10€)" => 1, "Familial (15€)" => 2}, :as => :select, :label => "Type d'adhésion :", :include_blank => false
= f.input :join_type, :collection => {"Individuelle (10€)" => 1, "Familiale (15€)" => 2}, :as => :select, :label => "Type d'adhésion :", :include_blank => false
=f.input :benefactor, :label => "Adhésion bienfaiteur ? (somme libre au dessus de 20€)", :input_html => {:onchange => "if($(this).is(':checked')){$('.bienfaiteur').show();}else{$('.bienfaiteur').hide();}"}

View File

@ -1,4 +1,4 @@
%h1 Renouveller mon adhésion
%h1 Renouveler mon adhésion
%p Pour renouveller votre adhésion vous pouvez indiquer votre numéro d'adhérent ci-dessous :
@ -28,5 +28,5 @@
=f.submit "Renouveller mon adhésion par CB"
=f.submit "Renouveler mon adhésion par CB"

View File

@ -3,7 +3,7 @@
=link_to image_tag("/logo_pic_vert_w.png", :id => "logo"), "/"
#personnal_menu
=link_to "Renouveller mon adhésion »", select_sheet_public_renews_index_path
=link_to "Renouveler mon adhésion »", select_sheet_public_renews_index_path
=link_to "Adhérer »", select_sheet_public_joins_path
=link_to "Accès au forum »", "/forum"
#menu