Changeset - 31c265a6b841
[Not reviewed]
0 3 0
Joel Addison - 2 years ago 2021-11-27 06:36:16
joel@addison.net.au
Adjust attendee profile
3 files changed with 3 insertions and 4 deletions:
0 comments (0 inline, 0 general)
pinaxcon/registrasion/forms.py
Show inline comments
...
 
@@ -24,9 +24,8 @@ class ProfileForm(forms.ModelForm):
 
        model = models.AttendeeProfile
 
        exclude = [
 
            'attendee',
 
            'of_legal_age',
 
            'dietary_restrictions',
 
            'children',
 
            'lca_chat',
 
            'future_conference',
 
        ]
 
        widgets = {
pinaxcon/registrasion/models.py
Show inline comments
...
 
@@ -151,7 +151,7 @@ class AttendeeProfile(rego.AttendeeProfileBase):
 
        help_text="Being under 18 will not stop you from attending the "
 
                  "conference. We need to know whether you are over 18 to "
 
                  "allow us to cater for you at venues that serve alcohol.",
 
        blank=True, # LCA2022 - not needed.
 
        blank=True,
 
        default=False,
 
    )
 
    dietary_restrictions = models.CharField(
vendor/regidesk/regidesk/templates/regidesk/ci_overview.html
Show inline comments
...
 
@@ -45,10 +45,10 @@
 

	
 
            <dt class="col-sm-3">PDNS Tickets</dt>
 
            <dd class="col-sm-9">{{ pdns_count }}</dd>
 
            {% endcomment %}
 

	
 
            <dt class="col-sm-3">Over 18 years</dt>
 
            <dd class="col-sm-9">{% if user.attendee.attendeeprofilebase.attendeeprofile.of_legal_age %}Yes{% else %}<strong class="red">NO</strong>{% endif %}</dd>
 
            {% endcomment %}
 

	
 
            <dt class="col-sm-3">Username</dt>
 
            <dd class="col-sm-9">{{ user.username }}</dd>
0 comments (0 inline, 0 general)