Author: gjm
Date: Mon Jun 25 16:56:30 2012
New Revision: 1353655
URL: http://svn.apache.org/viewvc?rev=1353655&view=rev
Log:
multiproduct: make it possible to create a product from the products page -
towards #108
Modified:
incubator/bloodhound/trunk/bloodhound_multiproduct/multiproduct/templates/product_edit.html
Modified:
incubator/bloodhound/trunk/bloodhound_multiproduct/multiproduct/templates/product_edit.html
URL:
http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_multiproduct/multiproduct/templates/product_edit.html?rev=1353655&r1=1353654&r2=1353655&view=diff
==============================================================================
---
incubator/bloodhound/trunk/bloodhound_multiproduct/multiproduct/templates/product_edit.html
(original)
+++
incubator/bloodhound/trunk/bloodhound_multiproduct/multiproduct/templates/product_edit.html
Mon Jun 25 16:56:30 2012
@@ -24,7 +24,7 @@
<div class="field">
<input type="hidden" name="action" value="edit" />
<label>Short name for the product (prefix):<br />
- <input type="text" id="prefix" name="prefix" size="32"
value="${product.prefix or req.args.get('prefix')}" readonly="${product._exists
and 'readonly'}"/>
+ <input type="text" id="prefix" name="prefix" size="32"
value="${product.prefix or req.args.get('prefix')}" readonly="${product._exists
and 'readonly' or None}"/>
</label>
<label>Name of the product:<br />
<input type="text" id="name" name="name" size="32"
value="${product.name or req.args.get('name')}" />