[open-ils-commits] r201 - servres/trunk/conifer/templates/components (gfawcett)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Mar 19 19:21:17 EDT 2009
Author: gfawcett
Date: 2009-03-19 19:21:17 -0400 (Thu, 19 Mar 2009)
New Revision: 201
Modified:
servres/trunk/conifer/templates/components/course.xhtml
Log:
prettified the metadata edit form.
Modified: servres/trunk/conifer/templates/components/course.xhtml
===================================================================
--- servres/trunk/conifer/templates/components/course.xhtml 2009-03-19 02:56:07 UTC (rev 200)
+++ servres/trunk/conifer/templates/components/course.xhtml 2009-03-19 23:21:17 UTC (rev 201)
@@ -76,11 +76,17 @@
<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>
More information about the open-ils-commits
mailing list