# HG changeset patch # User Dennis Fink # Date 2021-06-14 20:43:03 # Node ID 52127f437376b4f34c227d245fcab6e572612232 # Parent 22e888517273e2e3e50dda6dbe97fa65a65ff3f7 Split up membership plans into more fields. Student and starving are now options that can be selected additionally to the regular or supporting membership. diff --git a/c3l_membership/forms.py b/c3l_membership/forms.py --- a/c3l_membership/forms.py +++ b/c3l_membership/forms.py @@ -24,16 +24,27 @@ class MembershipForm(Form): "Membership Plan", validators=[InputRequired("Please select one of the options!")], choices=[ - ("regular", "Regular membership (120€/year)"), - ("student", "Student membership (40€/year)"), + ( + "regular", + "Regular membership - Membership with voting rights on the general assembly.", + ), ( "supporting", - "Supporting membership (40€/year) - Membership without voting rights", + "Supporting membership - Membership without voting rights on the general assembly.", ), - ("starving", "Starving Hacker - Get in touch with us at info@c3l.lu"), ], ) + student = BooleanField( + ("I am a student and would like to have the reduced membership fees."), + ) + + starving = BooleanField( + ( + "I am a starving hacker and cannot afford the membership! (Please get in touch with us at info@c3l.lu before filling out this membership form)" + ) + ) + payment = RadioField( "Payment Options", validators=[InputRequired("Please select one of the options!")], diff --git a/c3l_membership/templates/index.html b/c3l_membership/templates/index.html --- a/c3l_membership/templates/index.html +++ b/c3l_membership/templates/index.html @@ -60,6 +60,20 @@ {{ option.label.text }} {% endfor %} +
+
+ +
+
+
+
+ +
+

What's difference between the different membership options?

All the options include to following benefits: