Changeset - c01dad66f78d
[Not reviewed]
0 3 0
Ben Sturmfels (bsturmfels) - 12 months ago 2023-04-20 01:21:14
ben@sturm.com.au
Hide Linux Australia-specific questions, update registration changes date
3 files changed with 3 insertions and 2 deletions:
0 comments (0 inline, 0 general)
pinaxcon/registrasion/forms.py
Show inline comments
...
 
@@ -25,12 +25,14 @@ class ProfileForm(forms.ModelForm):
 
        exclude = [
 
            'attendee',
 
            'children',
 
            'lca_announce',
 
            'lca_chat',
 
            'future_conference',
 
            'linux_australia',
 
            'past_lca',
 
        ]
 
        widgets = {
 
            'past_lca': forms.widgets.CheckboxSelectMultiple
 
        }
 
        field_classes = {
 
            "of_legal_age": YesNoField,
pinaxcon/registrasion/models.py
Show inline comments
...
 
@@ -137,13 +137,12 @@ class AttendeeProfile(rego.AttendeeProfileBase):
 
        verbose_name="Country",
 
        default="AU",
 
    )
 
    state = models.CharField(
 
        max_length=256,
 
        verbose_name="State/Territory/Province",
 
        help_text="If your Country is Australia, you must list a state.",
 
        blank=True,
 
    )
 

	
 
    of_legal_age = models.BooleanField(
 
        verbose_name="Are you over 18?",
 
        help_text="Being under 18 will not stop you from attending the "
vendor/registrasion/registrasion/views.py
Show inline comments
...
 
@@ -345,13 +345,13 @@ def _guided_registration_profile_and_voucher(request):
 
    )
 

	
 
    profile_section = GuidedRegistrationSection(
 
        title="Profile and Personal Information",
 
        form=profile_form,
 
        description=("<div class=\"text-info\"><em>You can come back and edit these details any time before "
 
                     "March 10 2023.</em></div>"),
 
                     "June 6 2023.</em></div>"),
 
    )
 

	
 
    return [voucher_section, profile_section]
 

	
 

	
 
@login_required
0 comments (0 inline, 0 general)