Commits

g...@13f79535-47bb-0310-9956-ffa450edef68  committed 6a3856d Draft

multiproduct: corrects the same problem as r1353652 within the multiproduct copy of the template - towards #108

  • Participants
  • Parent commits c26e0ee

Comments (0)

Files changed (1)

File multiproduct/templates/admin_products.html

         <fieldset>
           <legend>Modify Product:</legend>
           <div class="field">
-            <label>Prefix:<br /><input type="text" name="prefix" value="$product.prefix"/></label>
+            <label>Prefix:<br /><input type="text" name="prefix" value="$product.prefix" readonly="${product._exists and 'readonly' or None}" /></label>
           </div>
           <div class="field">
             <label>Name:<br /><input type="text" name="name" value="$product.name"/></label>