Author: gjm
Date: Tue Jun 26 10:54:40 2012
New Revision: 1353932
URL: http://svn.apache.org/viewvc?rev=1353932&view=rev
Log:
theme: removing unnecessary logic from the readonly attribute as modifying a
product implies that it exists - towards #108
Modified:
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_products.html
Modified:
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_products.html
URL:
http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_products.html?rev=1353932&r1=1353931&r2=1353932&view=diff
==============================================================================
---
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_products.html
(original)
+++
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_products.html
Tue Jun 26 10:54:40 2012
@@ -38,7 +38,7 @@
<div class="control-group">
<label class="control-label" for="name">Prefix:</label>
<div class="controls">
- <input type="text" id="prefix" name="prefix"
value="$product.prefix" readonly="${product._exists and 'readonly' or None}" />
+ <input type="text" id="prefix" name="prefix"
value="$product.prefix" readonly="readonly" />
</div>
</div>
<div class="control-group">