prettified the metadata edit form.
authorgfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Thu, 19 Mar 2009 23:21:17 +0000 (23:21 +0000)
committergfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Thu, 19 Mar 2009 23:21:17 +0000 (23:21 +0000)
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@201 6d9bc8c9-1ec2-4278-b937-99fde70a366f

conifer/templates/components/course.xhtml

index 8da8c61..5e0abda 100644 (file)
@@ -76,11 +76,17 @@ searchtext = _('search this course...')
       <p><a href="javascript:show_metadata();" id="show_metadata">Show more attributes</a></p>
       <div  id="metadatatable">
       ${Markup(metadata_formset.management_form)}
-      <table>
-       <tr py:for="thing in metadata_formset.forms">
-         <td style="border: gray 1px solid; padding: 4; ">${Markup(thing.as_p())}</td>
+      <table class="pagetable">
+       <thead>
+         <tr><th>Attribute</th><th>Value</th><th/><th>Delete?</th></tr>
+       </thead>
+       <tbody>
+       <tr py:for="form in metadata_formset.forms">
+         <!-- <td style="border: gray 1px solid; padding: 4; ">${Markup(form.as_p())}</td> -->
+         <td py:for="cell in form">${Markup(cell)}</td>
        </tr>
+       </tbody>
       </table>
       </div>
-  </div>
+   </div>
 </html>