Commits

Anonymous committed 6a3856d Draft

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

Comments (0)

Files changed (1)

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>