Ignore:
Timestamp:
27 Nov 2011, 18:55:06 (13 years ago)
Author:
Henrik Bettermann
Message:

Reorganise contact form pages. Use megrok.layout.Form.

File:
1 edited

Legend:

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

    r7223 r7225  
    202202        """
    203203
     204class IContactForm(IWAeUPObject):
     205    """A contact form.
     206    """
     207
     208    email_from = schema.ASCIILine(
     209        title = u'Email Address:',
     210        default = None,
     211        required = True,
     212        constraint=validate_email,
     213        )
     214
     215    email_to = schema.ASCIILine(
     216        title = u'Email to:',
     217        default = None,
     218        required = True,
     219        constraint=validate_email,
     220        )
     221
     222    subject = schema.TextLine(
     223        title = u'Subject:',
     224        required = True,)
     225
     226    fullname = schema.TextLine(
     227        title = u'Full Name:',
     228        required = True,)
     229
     230    body = schema.Text(
     231        title = u'Text:',
     232        required = True,)
     233
     234
    204235class IUserAccount(IWAeUPObject):
    205236    """A user account.
Note: See TracChangeset for help on using the changeset viewer.