Index: /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/browser.py
===================================================================
--- /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/browser.py	(revision 9247)
+++ /main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/browser.py	(revision 9248)
@@ -96,6 +96,5 @@
     @property
     def form_fields(self):
-        cm = getattr(self.context,'current_mode', None)
-        if cm is not None and cm.startswith('pg'):
+        if self.context.is_postgrad:
             form_fields = grok.AutoFields(
                 INigeriaPGStudentClearance).omit('clearance_locked')
@@ -111,6 +110,5 @@
     @property
     def form_fields(self):
-        cm = getattr(self.context,'current_mode', None)
-        if cm is not None and cm.startswith('pg'):
+        if self.context.is_postgrad:
             form_fields = grok.AutoFields(
                 INigeriaPGStudentClearance).omit('clearance_locked')
@@ -126,6 +124,5 @@
     @property
     def form_fields(self):
-        cm = getattr(self.context,'current_mode', None)
-        if cm is not None and cm.startswith('pg'):
+        if self.context.is_postgrad:
             form_fields = grok.AutoFields(INigeriaPGStudentClearance)
         else:
@@ -139,6 +136,5 @@
     @property
     def form_fields(self):
-        cm = getattr(self.context,'current_mode', None)
-        if cm is not None and cm.startswith('pg'):
+        if self.context.is_postgrad:
             form_fields = grok.AutoFields(INigeriaPGStudentClearance).omit(
             'clearance_locked', 'nysc_location')
