Changeset 3528 for waeup/trunk/src


Ignore:
Timestamp:
30 Jun 2008, 15:46:09 (16 years ago)
Author:
adiwidjaja
Message:

Base management screens.

Location:
waeup/trunk/src/waeup
Files:
4 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • waeup/trunk/src/waeup/basecontainer_templates/add.pt

    r3527 r3528  
    66
    77<body>
    8     <h1>HUHU</h1>
     8    <h1>Add Form</h1>
    99<form action="." tal:attributes="action request/URL" method="post"
    1010      class="edit-form" enctype="multipart/form-data">
  • waeup/trunk/src/waeup/students/student.py

    r3527 r3528  
    33from interfaces import IStudent
    44
    5 class Student(grok.Model):
     5from waeup.baseitem import BaseItem
     6
     7class Student(BaseItem):
    68    """This is a student record.
    79    """
     
    4143    def getCsv(self):
    4244        return self.entry_mode, self.end_level, self.name, self.jamb_reg_no, self.level, self.id, self.lga, self.entry_session, self.matric_no, self.sex, self.phone, self.session, self.course, self.mode, self.faculty, self.department, self.verdict, self.review_state,  self.perm_address, self.email
    43 
    44 class Edit(grok.EditForm):
    45     form_fields = grok.AutoFields(Student)
    46 
    47 class Index(grok.DisplayForm):
    48     form_fields = grok.AutoFields(Student)
Note: See TracChangeset for help on using the changeset viewer.