Index: main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/departmentmanagepage.pt
===================================================================
--- main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/departmentmanagepage.pt	(revision 6002)
+++ main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/departmentmanagepage.pt	(revision 6002)
@@ -0,0 +1,115 @@
+<script type="text/javascript"> 
+  var tabView = new YAHOO.widget.TabView('table-tabs'); 
+</script>
+
+<h2 i18n:translate=""
+tal:condition="view/label"
+tal:content="view/label">Label</h2>
+
+<div class="form-status"
+tal:define="status view/status"
+tal:condition="status">
+
+<div i18n:translate="" tal:content="view/status">
+  Form status summary
+</div>
+
+<ul class="errors" tal:condition="view/errors">
+  <li tal:repeat="error view/error_views">
+     <span tal:replace="structure error">Error Type</span>
+  </li>
+</ul>
+</div>
+
+
+<form action="." tal:attributes="action request/URL" method="POST"
+      class="edit-form" enctype="multipart/form-data"> 
+
+<div id="tabs">
+<ul>
+  <li><a href="#tab-1"><span>Settings</span></a></li>
+  <li><a href="#tab-2">Courses</a></li>
+  <li><a href="#tab-3">Certificates</a></li>
+</ul>
+   
+<div id="tab-1">        
+      <table class="form-fields">
+      <tbody>
+      <tal:block repeat="widget view/widgets">
+        <tr>
+          <td class="label" tal:define="hint widget/hint">
+    	<label tal:condition="python:hint"
+    	       tal:attributes="for widget/name">
+    	  <span class="required" tal:condition="widget/required"
+    		>*</span><span i18n:translate=""
+    		tal:content="widget/label">label</span>
+    	</label>
+    	<label tal:condition="python:not hint"
+    	       tal:attributes="for widget/name">
+    	  <span class="required" tal:condition="widget/required"
+    		>*</span><span i18n:translate=""
+    		tal:content="widget/label">label</span>
+    	</label>
+          </td>
+          <td class="field">
+    	<div class="widget" tal:content="structure widget">
+    	  <input type="text" />
+    	</div>
+    	<div class="error" tal:condition="widget/error">
+    	  <span tal:replace="structure widget/error">error</span>
+    	</div>
+          </td>
+        </tr>
+      </tal:block>
+      </tbody>
+      </table>
+
+    <div id="actionsView">
+        <span class="actionButtons" tal:condition="view/availableActions">
+            <span tal:repeat="action view/actions"
+                  tal:omit-tag="">
+              <input tal:condition="python:action.label in view.taboneactions"
+                     tal:replace="structure action/render"/>
+            </span>
+        </span>
+    </div>   
+
+</div>    
+    
+<div id="tab-2">  
+    <div name="thecoursetable" tal:condition="python: len(context.courses.keys())">
+	<div tal:replace="structure view/coursetable/renderHTML"></div>
+    </div> 
+    <br />
+    <div id="actionsView">
+        <span class="actionButtons" tal:condition="view/availableActions">
+            <span tal:repeat="action view/actions"
+                  tal:omit-tag="">
+              <input tal:condition="python:action.label in view.tabtwoactions"
+                     tal:replace="structure action/render"/>
+            </span>
+        </span>
+    </div>         
+</div>
+
+<div id="tab-3">  
+    <div name="thecerttable">
+	<div tal:replace="structure view/certificatetable/renderHTML"></div>
+    </div> 
+    <br />
+    <div id="actionsView">
+        <span class="actionButtons" tal:condition="view/availableActions">
+            <span tal:repeat="action view/actions"
+                  tal:omit-tag="">
+              <input tal:condition="python:action.label in view.tabthreeactions"
+                     tal:replace="structure action/render"/>
+            </span>
+        </span>
+    </div>         
+</div> 
+    
+</div>
+</form>  
+
+
+
Index: main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/departmentpage.pt
===================================================================
--- main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/departmentpage.pt	(revision 6000)
+++ main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/departmentpage.pt	(revision 6002)
@@ -1,26 +1,24 @@
 <script type="text/javascript"> 
   var tabView = new YAHOO.widget.TabView('table-tabs'); 
-</script> 
-<div id="table-tabs" class="yui-navset"> 
-  <ul class="yui-nav"> 
-    <li class="selected"><a href="#tab1"><em>Courses</em></a></li> 
-    <li><a href="#tab2"><em>Certificates</em></a></li> 
-  </ul>             
-  <div class="yui-content"> 
-    <div id="tab1">
-	
-      <div name="thecoursetable"
-	   tal:condition="python: len(context.courses.keys())">
-	<div tal:replace="structure view/coursetable/renderHTML" />
-      </div>
+</script>
 
+<h2 i18n:translate=""
+tal:condition="view/label"
+tal:content="view/label">Label</h2>
+
+<div id="tabs">
+    <ul>
+      <li><a href="#tab-1"><span>Courses</span></a></li>
+      <li><a href="#tab-2"><span>Certificates</span></a></li>
+    </ul>
+    <div id="tab-1">  
+        <div name="thecoursetable" tal:condition="python: len(context.courses.keys())">
+    	<div tal:replace="structure view/coursetable/renderHTML"></div>
+        </div> 
+    </div>
+    <div id="tab-2">  
+        <div name="thecerttable">
+    	<div tal:replace="structure view/certificatetable/renderHTML"></div>
+        </div> 
     </div> 
-    <div id="tab2">
-
-      <div name="thecerttable">
-	<div tal:replace="structure view/certificatetable/renderHTML" />
-      </div>
-
-    </div> 
-  </div> 
 </div>
