Commits

Anonymous committed 53c7aec Draft

multiproduct: removing unnecessary logic from the readonly attribute as modifying a product implies that it exists - towards #108

  • Participants
  • Parent commits b78a9ca

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" readonly="${product._exists and 'readonly' or None}" /></label>
+            <label>Prefix:<br /><input type="text" name="prefix" value="$product.prefix" readonly="readonly" /></label>
           </div>
           <div class="field">
             <label>Name:<br /><input type="text" name="name" value="$product.name"/></label>