Changeset 7227 for main


Ignore:
Timestamp:
28 Nov 2011, 10:08:16 (13 years ago)
Author:
Henrik Bettermann
Message:

Use customized pagetemplate for all contact forms.

Location:
main/waeup.sirp/trunk/src/waeup/sirp/browser
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py

    r7225 r7227  
    3737from zope.event import notify
    3838from zope.session.interfaces import ISession
     39from megrok.layout import Form
    3940from waeup.sirp.browser import (
    4041    WAeUPPage, WAeUPEditFormPage, WAeUPAddFormPage,
     
    455456#
    456457
    457 from megrok.layout import Form
    458458class ContactAdminForm(Form):
    459459    grok.name('contactadmin')
    460460    #grok.context(IUniversity)
    461     #grok.template('contactadminform')
     461    grok.template('contactform')
    462462    grok.require('waeup.Authenticated')
    463463    pnav = 2
     
    496496            self.flash('Your message has been sent.')
    497497        else:
    498             self.flash('A smtp server error occurred.')
     498            self.flash('An smtp server error occurred.')
    499499        return
    500500
Note: See TracChangeset for help on using the changeset viewer.