Example #1
0
    def latex(self):
        c.proposal_type = ProposalType.find_all()

        for type in c.proposal_type:
          print type

        response.headers['Content-type']='text/plain; charset=utf-8'

        return render('/proposal/latex.mako')
Example #2
0
    def latex(self):
        c.proposal_type = ProposalType.find_all()

        for type in c.proposal_type:
            print type

        response.headers['Content-type'] = 'text/plain; charset=utf-8'

        return render('/proposal/latex.mako')
Example #3
0
 def __before__(self, **kwargs):
     c.proposal_types = ProposalType.find_all()
     c.target_audiences = TargetAudience.find_all()
     c.accommodation_assistance_types = AccommodationAssistanceType.find_all()
     c.travel_assistance_types = TravelAssistanceType.find_all()
Example #4
0
 def __before__(self, **kwargs):
     c.proposal_types = ProposalType.find_all()
     c.target_audiences = TargetAudience.find_all()
     c.accommodation_assistance_types = AccommodationAssistanceType.find_all(
     )
     c.travel_assistance_types = TravelAssistanceType.find_all()
Example #5
0
 def index(self):
     c.proposal_type_collection = ProposalType.find_all()
     return render('/proposal_type/list.mako')
Example #6
0
 def index(self):
     c.proposal_type_collection = ProposalType.find_all()
     return render("/proposal_type/list.mako")