site
This commit is contained in:
parent
b275ee0bab
commit
b3117a2eb5
@ -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)"}
|
PAYMENT_TYPE = {1 => "Chèque", 2 => "Liquide", 3 => "Paypal (ou carte bancaire)"}
|
||||||
|
|
||||||
before_validation do
|
before_validation do
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
%p
|
%p
|
||||||
Montant de l'adhésion :
|
Montant de l'adhésion :
|
||||||
=number_to_currency f.object.amount
|
=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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
%br
|
%br
|
||||||
=form.input :error_join, :label => false, :input_html => {:style => "display:none;"}
|
=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();}"}
|
=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();}"}
|
||||||
|
@ -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 :
|
%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"
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
=link_to image_tag("/logo_pic_vert_w.png", :id => "logo"), "/"
|
=link_to image_tag("/logo_pic_vert_w.png", :id => "logo"), "/"
|
||||||
#personnal_menu
|
#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 "Adhérer »", select_sheet_public_joins_path
|
||||||
=link_to "Accès au forum »", "/forum"
|
=link_to "Accès au forum »", "/forum"
|
||||||
#menu
|
#menu
|
||||||
|
Loading…
x
Reference in New Issue
Block a user