<commit_before><div class="row"  ng-controller="MasterCtrl">
  <div class="col-lg-4">
      <form ng-submit="postProduct()">
        <div class="form-group">
          <label for="exampleInputEmail1">Product Is Active</label>
          <!-- <input type="text" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-model="productisActive" placeholder="Enter isActive true/false" required> -->
          <select class="form-control form-align" ng-model="productisActive" >
                <option ng-selected="true" value="true">Select yes/no</option>
              <option value="true">Yes</option>
              <option  value="false" >No</option>
           </select>
        </div>
        <div class="form-group">
            <label for="exampleInputEmail1">Select Category (Select One):<span style="color: #e40046;font-size: 10px;" class="glyphicon glyphicon-asterisk" aria-hidden="true"></span></label>
          <select class="form-control form-align" id="sel1" ng-model="categorySelected" ng-change="getCategoryName(categorySelected)">
            <option ng-repeat="category in getCategoriesList"  ng-model="categoryName">{{category.name}}</option>
          </select>
        </div>
          <div class="form-group">
            <label for="exampleInputEmail1">Product Name<span style="color: #e40046;font-size: 10px;" class="glyphicon glyphicon-asterisk" aria-hidden="true"></span></label>
            <input type="text" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-model="productName" placeholder="Enter Product Name" required>
          </div>
          <div class="form-group">
            <label for="exampleInputEmail1">Product Description<span style="color: #e40046;font-size: 10px;" class="glyphicon glyphicon-asterisk" aria-hidden="true"></span></label>
            <input type="text" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-model="productDescription" placeholder="Enter Product description" required>
          </div>
          <!-- <div class="form-group">
            <label for="exampleInputEmail1">Product deparment</label>
            <input type="text" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-model="productDepartment" placeholder="Enter Product deparment">
          </div> -->
          <!-- <div class="form-group">
            <label for="exampleInputEmail1">Product Category</label>
            <input type="text" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-model="productCategory" placeholder="Enter Product Category">
          </div> -->
          <!-- <div class="form-group">
            <label for="sel1">Select Department (select one):</label>
            <select class="form-control form-align" id="sel1" ng-model="departmentSelected" ng-change="getdepartmentId(departmentSelected)">
              <option ng-repeat="departments in getDepartmentList"  ng-model="categoryName">{{departments.name}}</option>
            </select>
          </div> -->

          <div class="form-group">
            <label for="exampleInputEmail1">Product To Be Listed In Offer</label>
            <!-- <input type="text" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-model="productOffer" placeholder="yes/no" required> -->
            <select class="form-control form-align" ng-model="productOffer" required="">
                <option ng-selected="true" value="true">Select yes/no</option>
                <option value="yes">Yes</option>
                <option  value="no" >No</option>
             </select>
          </div>
          <div class="form-group">
            <label for="exampleInputEmail1">Product Image Size(712 × 475)<span style="color: #e40046;font-size: 10px;" class="glyphicon glyphicon-asterisk" aria-hidden="true"></span></label>
            <input type="text" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-model="productImageUrl" placeholder="Enter Product Image Url" required>
          </div>
          <div class="form-group">
            <label for="exampleInputEmail1">Product Image 1 Size(712 × 475)<span style="color: #e40046;font-size: 10px;" class="glyphicon glyphicon-asterisk" aria-hidden="true"></span></label>
            <input type="text" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-model="productImageUrl1" placeholder="Enter Product Image Url1" required>
          </div>
          <div class="form-group">
            <label for="exampleInputEmail1">Product Image 2 Size(712 × 475)<span style="color: #e40046;font-size: 10px;" class="glyphicon glyphicon-asterisk" aria-hidden="true"></span></label>
            <input type="text" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-model="productImageUrl2" placeholder="Enter Product Image Url2" required>
          </div>
          <div class="form-group">
            <label for="exampleInputEmail1">Product Image 3 Size(712 × 475)<span style="color: #e40046;font-size: 10px;" class="glyphicon glyphicon-asterisk" aria-hidden="true"></span></label>
            <input type="text" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-model="productImageUrl3" placeholder="Enter Product Image Url3" required>
          </div>
          <div class="form-group">
            <label for="exampleInputEmail1">Product Quantity<span style="color: #e40046;font-size: 10px;" class="glyphicon glyphicon-asterisk" aria-hidden="true"></span></label>
            <input type="number" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-model="productquantity" placeholder="Enter Product quantity" required>
          </div>
          <div class="form-group">
            <label for="exampleInputEmail1">Product List Price<span style="color: #e40046;font-size: 10px;" class="glyphicon glyphicon-asterisk" aria-hidden="true"></span></label>
            <input type="number" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-change="calcDiscount()" ng-model="productlistPrice" placeholder="Enter Product listPrice" required>
          </div>
          <div class="form-group">
            <label for="exampleInputEmail1">Product Discount Percentage<span style="color: #e40046;font-size: 14px;" > (In %)</span></label>
            <input type="number" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-change="calcDiscount()" ng-model="discountedPrice"  placeholder="Enter Product discountedPrice" >
          </div>
          <div class="form-group">
            <label for="exampleInputEmail1">Product Sale Price<span style="color: #e40046;font-size: 10px;" class="glyphicon glyphicon-asterisk" aria-hidden="true"></span></label>
            <input type="number" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-model="productSalePrice"   placeholder="" required disabled>
          </div>

          <!-- <div class="form-group">
            <label for="exampleInputEmail1">Product In Stock<span style="color: #e40046;font-size: 10px;" class="glyphicon glyphicon-asterisk" aria-hidden="true"></span></label>
            <input type="text" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-model="instock" placeholder="instock yes/no" required>
          </div> -->


          <button type="submit" class="btn" style="background-color: #e40046;color:white;">Submit</button><commit_msg>DK [add product submit button]<commit_after><div class="row"  ng-controller="MasterCtrl">
  <div class="col-lg-4">
      <form ng-submit="postProduct()">
        <div class="form-group">
          <label for="exampleInputEmail1">Product Is Active</label>
          <!-- <input type="text" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-model="productisActive" placeholder="Enter isActive true/false" required> -->
          <select class="form-control form-align" ng-model="productisActive" >
                <option ng-selected="true" value="true">Select yes/no</option>
              <option value="true">Yes</option>
              <option  value="false" >No</option>
           </select>
        </div>
        <div class="form-group">
            <label for="exampleInputEmail1">Select Category (Select One):<span style="color: #e40046;font-size: 10px;" class="glyphicon glyphicon-asterisk" aria-hidden="true"></span></label>
          <select class="form-control form-align" id="sel1" ng-model="categorySelected" ng-change="getCategoryName(categorySelected)">
            <option ng-repeat="category in getCategoriesList"  ng-model="categoryName">{{category.name}}</option>
          </select>
        </div>
          <div class="form-group">
            <label for="exampleInputEmail1">Product Name<span style="color: #e40046;font-size: 10px;" class="glyphicon glyphicon-asterisk" aria-hidden="true"></span></label>
            <input type="text" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-model="productName" placeholder="Enter Product Name" required>
          </div>
          <div class="form-group">
            <label for="exampleInputEmail1">Product Description<span style="color: #e40046;font-size: 10px;" class="glyphicon glyphicon-asterisk" aria-hidden="true"></span></label>
            <input type="text" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-model="productDescription" placeholder="Enter Product description" required>
          </div>
          <!-- <div class="form-group">
            <label for="exampleInputEmail1">Product deparment</label>
            <input type="text" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-model="productDepartment" placeholder="Enter Product deparment">
          </div> -->
          <!-- <div class="form-group">
            <label for="exampleInputEmail1">Product Category</label>
            <input type="text" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-model="productCategory" placeholder="Enter Product Category">
          </div> -->
          <!-- <div class="form-group">
            <label for="sel1">Select Department (select one):</label>
            <select class="form-control form-align" id="sel1" ng-model="departmentSelected" ng-change="getdepartmentId(departmentSelected)">
              <option ng-repeat="departments in getDepartmentList"  ng-model="categoryName">{{departments.name}}</option>
            </select>
          </div> -->

          <div class="form-group">
            <label for="exampleInputEmail1">Product To Be Listed In Offer</label>
            <!-- <input type="text" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-model="productOffer" placeholder="yes/no" required> -->
            <select class="form-control form-align" ng-model="productOffer" required="">
                <option ng-selected="true" value="true">Select yes/no</option>
                <option value="yes">Yes</option>
                <option  value="no" >No</option>
             </select>
          </div>
          <div class="form-group">
            <label for="exampleInputEmail1">Product Image Size(712 × 475)<span style="color: #e40046;font-size: 10px;" class="glyphicon glyphicon-asterisk" aria-hidden="true"></span></label>
            <input type="text" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-model="productImageUrl" placeholder="Enter Product Image Url" required>
          </div>
          <div class="form-group">
            <label for="exampleInputEmail1">Product Image 1 Size(712 × 475)<span style="color: #e40046;font-size: 10px;" class="glyphicon glyphicon-asterisk" aria-hidden="true"></span></label>
            <input type="text" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-model="productImageUrl1" placeholder="Enter Product Image Url1" required>
          </div>
          <div class="form-group">
            <label for="exampleInputEmail1">Product Image 2 Size(712 × 475)<span style="color: #e40046;font-size: 10px;" class="glyphicon glyphicon-asterisk" aria-hidden="true"></span></label>
            <input type="text" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-model="productImageUrl2" placeholder="Enter Product Image Url2" required>
          </div>
          <div class="form-group">
            <label for="exampleInputEmail1">Product Image 3 Size(712 × 475)<span style="color: #e40046;font-size: 10px;" class="glyphicon glyphicon-asterisk" aria-hidden="true"></span></label>
            <input type="text" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-model="productImageUrl3" placeholder="Enter Product Image Url3" required>
          </div>
          <div class="form-group">
            <label for="exampleInputEmail1">Product Quantity<span style="color: #e40046;font-size: 10px;" class="glyphicon glyphicon-asterisk" aria-hidden="true"></span></label>
            <input type="number" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-model="productquantity" placeholder="Enter Product quantity" required>
          </div>
          <div class="form-group">
            <label for="exampleInputEmail1">Product List Price<span style="color: #e40046;font-size: 10px;" class="glyphicon glyphicon-asterisk" aria-hidden="true"></span></label>
            <input type="number" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-change="calcDiscount()" ng-model="productlistPrice" placeholder="Enter Product listPrice" required>
          </div>
          <div class="form-group">
            <label for="exampleInputEmail1">Product Discount Percentage<span style="color: #e40046;font-size: 14px;" > (In %)</span></label>
            <input type="number" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-change="calcDiscount()" ng-model="discountedPrice"  placeholder="Enter Product discountedPrice" >
          </div>
          <div class="form-group">
            <label for="exampleInputEmail1">Product Sale Price<span style="color: #e40046;font-size: 10px;" class="glyphicon glyphicon-asterisk" aria-hidden="true"></span></label>
            <input type="number" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-model="productSalePrice"   placeholder="" required disabled>
          </div>

          <!-- <div class="form-group">
            <label for="exampleInputEmail1">Product In Stock<span style="color: #e40046;font-size: 10px;" class="glyphicon glyphicon-asterisk" aria-hidden="true"></span></label>
            <input type="text" class="form-control form-align" id="exampleInputEmail1" aria-describedby="emailHelp" ng-model="instock" placeholder="instock yes/no" required>
          </div> -->


          <button type="submit" class="btn" style="background-color: #e40046;color:white;    margin-left: 236px;">Submit</button>
{'fraction_non_alphanumeric': 0.1560554979253112, 'fraction_numerical': 0.020552385892116182, 'mean_word_length': 3.738863287250384, 'pattern_counts': {'":': 0, '<': 287, '<?xml version=': 0, '>': 287, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7373458', 'n_tokens_mistral': 4589, 'n_tokens_neox': 4262, 'n_words': 865}