Beispiel #1
0
 def __before__(self, **kwargs):
     c.funding_types = FundingType.find_all()
     c.form_fields = {
       'funding.why_attend': 'Why would you like to attend ' + h.lca_info['event_name'],
       'funding.how_contribute': 'How do you contribute to the Open Source community',
       'funding.male': 'What is your gender',
       'funding.financial_circumstances': 'What are your financial circumstances',
     }
Beispiel #2
0
 def __before__(self, **kwargs):
     c.funding_types = FundingType.find_all()
     c.form_fields = {
         'funding.why_attend':
         'Why would you like to attend ' + h.lca_info['event_name'],
         'funding.how_contribute':
         'How do you contribute to the Open Source community',
         'funding.male':
         'What is your gender',
         'funding.financial_circumstances':
         'What are your financial circumstances',
     }
 def index(self):
     c.funding_type_collection = FundingType.find_all()
     return render('/funding_type/list.mako')