[open-ils-commits] r1144 - servres/trunk/conifer/templates/item (gfawcett)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Dec 29 10:42:54 EST 2010
Author: gfawcett
Date: 2010-12-29 10:42:52 -0500 (Wed, 29 Dec 2010)
New Revision: 1144
Modified:
servres/trunk/conifer/templates/item/item_add_phys.xhtml
Log:
use common metadata fields for editing physical items, too.
Modified: servres/trunk/conifer/templates/item/item_add_phys.xhtml
===================================================================
--- servres/trunk/conifer/templates/item/item_add_phys.xhtml 2010-12-29 15:42:49 UTC (rev 1143)
+++ servres/trunk/conifer/templates/item/item_add_phys.xhtml 2010-12-29 15:42:52 UTC (rev 1144)
@@ -8,6 +8,7 @@
xmlns:py="http://genshi.edgewall.org/">
<xi:include href="../master.xhtml"/>
<xi:include href="../components/site.xhtml"/>
+ <xi:include href="common_metadata.xhtml"/>
<head>
<title>${title}</title>
<script type="text/javascript">
@@ -21,12 +22,8 @@
<h2>${title}</h2>
<form action=".?item_type=${item_type}" method="POST">
<table class="metadata_table">
- <tr>
- <th>Display name</th>
- <td><input type="text" name="title" value="${item.title}"/></td>
- </tr>
+ ${common_table()}
</table>
- <h2>Metadata</h2>
<p>
<input py:if="not is_edit" type="submit" value="Add heading"/>
<input py:if="is_edit" type="submit" value="Update physical-item request"/>
More information about the open-ils-commits
mailing list