[Zope-CVS] CVS: Packages/JobBoardEx/Views/Browser - Preview.pt:1.2

Barry Warsaw barry@wooz.org
Wed, 20 Mar 2002 14:13:43 -0500


Update of /cvs-repository/Packages/JobBoardEx/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv16573/Views/Browser

Modified Files:
	Preview.pt 
Log Message:
We got rid of the hidden input items because now we create a tempoary
Job that we throw away.

Also, we're using an included template for the view-this-object part
of the preview page.



=== Packages/JobBoardEx/Views/Browser/Preview.pt 1.1 => 1.2 ===
 
     <form action="." method="post">
-    <input name="submitter" type="hidden" value=""
-	       tal:attributes="value request/submitter" />
-    
-    <input name="summary" type="hidden" value=""
-	       tal:attributes="value request/summary" />
-    
-    <input name="description" type="hidden" value=""
-	       tal:attributes="value request/description" />
-    
-    <input name="contact" type="hidden" value=""
-	       tal:attributes="value request/contact" />
-    
+    <div tal:replace="structure container/getJobView" />
 
     <table border=0>
-    <tr><td>Submitter:</td>
-	<td tal:content="request/submitter">aperson@dom.ain</td>
-    </tr>
-    <tr><td>Summary:</td>
-	<td tal:content="request/summary">The best job on the Internet</td>
-    </tr>
-    <tr><td>Description:</td>
-	<td tal:content="request/description">This is really really
-		really the best job on the Internet</td>
-    </tr>
-    <tr><td>Contact:</td>
-	<td tal:content="request/contact">bperson@dom.ain</td>
-    </tr>
-    <tr><td colspan="2">
+	<tr><td>
 	<input name="submit:method" type="submit" value="Submit">
 	<input name="index:method" type="submit" value="Edit">
 	<input name="cancel:method" type="submit" value="Cancel">
-	</td>
-    </tr>
+	</td></tr>
     </table>
     </form>    
 
 </body>
-</html>
\ No newline at end of file
+</html>