Changeset 185fde1 for asadb/forms


Ignore:
Timestamp:
Sep 16, 2011, 12:08:13 AM (14 years ago)
Author:
Rachel E Meyer <remeyer@…>
Branches:
master, space-access, stable, stage, test-hooks
Children:
05129a7
Parents:
ba08462
git-author:
Rachel E Meyer <remeyer@…> (09/16/11 00:08:13)
git-committer:
Rachel E Meyer <remeyer@…> (09/16/11 00:08:13)
Message:

added non-discrimination, email_preface

Location:
asadb/forms
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • asadb/forms/models.py

    rceaf3bd r185fde1  
    155155    membership_list = models.TextField(help_text="Member emails on separate lines (Athena usernames where applicable)")
    156156
    157     compliance_statement = "By checking this, I hereby affirm that I have read and understand Chapter 269: Sections 17, 18, and 19 of Massachusetts Law. I furthermore attest that I will distribute to group members, pledges, and/or applicants, copies of Massachusetts Law 269: 17, 18, 19 and that our organization, group, or team agrees to comply with the provisions of that law. (See below for text.)"
    158     no_hazing = models.BooleanField(help_text=compliance_statement)
     157    email_preface = models.TextField(help_text="If you would like, you may add text here that will preface the text of the policies when it is sent out to the group membership list provided above.")
     158
     159    hazing_statement = "By checking this, I hereby affirm that I have read and understand Chapter 269: Sections 17, 18, and 19 of Massachusetts Law. I furthermore attest that I have provided the appropriate address or will otherwise distribute to group members, pledges, and/or applicants, copies of Massachusetts Law 269: 17, 18, 19 and that our organization, group, or team agrees to comply with the provisions of that law. (See below for text.)"
     160    no_hazing = models.BooleanField(help_text=hazing_statement)
     161
     162    discrimination_statement = "By checking this, I hereby affirm that I have read and understand the MIT Non-Discrimination Policy.  I furthermore attest that our organization, group, or team agrees to not discriminate against individuals on the basis of race, color, sex, sexual orientation, gender identity, religion, disability, age, genetic information, veteran status, ancestry, or national or ethnic origin."
     163    no_discrimination = models.BooleanField(help_text=discrimination_statement)
     164
    159165
    160166
  • asadb/forms/views.py

    rb1a8ea7 r185fde1  
    239239            'group_email',
    240240            'officer_email',
     241            'email_preface',
    241242            'no_hazing',
     243            'no_discrimination',
    242244            'membership_definition',
    243245            'num_undergrads',
     
    280282            body = tmpl.render(ctx)
    281283            email = EmailMessage(
    282                 subject='ASA Anti-Hazing Acknowledgement for %s' % (
     284                subject='Anti-Hazing and Non-Discrimination Acknowledgement for %s' % (
    283285                    group_obj.name,
    284286                ),
Note: See TracChangeset for help on using the changeset viewer.