<commit_before><div class="row has-title-bar">
    <div class="span2 sidebar" ng-include="'app/templates/nav.html'"></div>
        <div class="span10 offset2">
            
            <div class="row title-bar">
                <div class="span10">
                    <h2><i class="icon icon-briefcase"></i> {{vendor.name || 'New Vendor'}}</h2>
                    <ul class="nav nav-tabs">
                  <li ng-repeat="tab in tabs" ng-class="{active: isActiveTab($index), disabled: !vendor._id && $index != 0}"><a ng-click="changeTab($index)">{{tab}}</a></li>
                </ul>
                    
                    <div class="actions">
                        <button type="submit" class="btn btn-success" id="save" ng-show="basicForm.$dirty || customizeForm.$dirty || locationForm.$dirty || customNameForm.$dirty" ng-disabled="basicForm.$invalid || customizeForm.$invalid || locationForm.$invalid " ng-click="save(true)"><i class="icon icon-ok-sign"></i>Save</button>
                        <a class="btn btn-primary" id="cancel" ng-click="cancel()"><i class="icon icon-remove-sign"></i>Close</a>
                        <a class="btn btn-primary" target="_blank" ng-href="#/tools/quoter?vendor_id={{vendor._id}}"><i class="icon icon-comments-alt"></i> Launch Quoter Tool</a>
                    </div>
                
                </div>
            </div>
            
            <form name="basicForm" class="row" ng-show="isActiveTab(0)" unsaved-changes-warning>
               
               <div class="span10 clearfix"> 
                    <h3>Basic Info</h3>
               </div>
               
                <div class="span4">
                    
                    <label>Vendor Logo</label>
                    <img class="img-rounded img-large" ng-src="{{vendor.logo.original}}" ng-show="vendor.logo.original" title="Logo" /><br/><br/>
                    <button ng-click="pickImage()" class="btn btn-primary">Pick Logo</button>
                    
                    <br /><br />
                    
                    
                    <label>Vendor Name</label>
                    <input type="text" id="name" placeholder="Name" ng-model="vendor.name" class="input-block">
                    <!-- <input type="text" placeholder="Vendor ID" disabled="disabled" ng-model="vendor._id"> -->
                    
                    <label>Website Url</label>
                    <input type="text" class="large" placeholder="Website" class="input-block"ng-model="vendor.website">
                    
                    <label>Business Phone Number</label>
                    <input type="text" class="medium" placeholder="Business Phone" class="input-block" ng-model="vendor.businessPhone">
                    
                    
 
                </div>
                
                <div class="span5">            
                    <label>Address 1</label>
                    <input type="text" class="input-block" placeholder="Address 1" ng-model="vendor.businessAddress.address1">
                    
                    <label>Address 2</label>
                    <input type="text" class="input-block" placeholder="Address 2" ng-model="vendor.businessAddress.address2">
                    
                    <label>City</label>
                    <input type="text" placeholder="City" ng-model="vendor.businessAddress.city">
                    <!-- <input type="text" placeholder="State" ng-model="vendor.state"> -->
                    <label>State</label><commit_msg>Changing vendor edit now sets form to dirty<commit_after><div class="row has-title-bar">
    <div class="span2 sidebar" ng-include="'app/templates/nav.html'"></div>
        <div class="span10 offset2">
            
            <div class="row title-bar">
                <div class="span10">
                    <h2><i class="icon icon-briefcase"></i> {{vendor.name || 'New Vendor'}}</h2>
                    <ul class="nav nav-tabs">
                  <li ng-repeat="tab in tabs" ng-class="{active: isActiveTab($index), disabled: !vendor._id && $index != 0}"><a ng-click="changeTab($index)">{{tab}}</a></li>
                </ul>
                    
                    <div class="actions">
                        <button type="submit" class="btn btn-success" id="save" ng-show="basicForm.$dirty || customizeForm.$dirty || locationForm.$dirty || customNameForm.$dirty" ng-disabled="basicForm.$invalid || customizeForm.$invalid || locationForm.$invalid " ng-click="save(true)"><i class="icon icon-ok-sign"></i>Save</button>
                        <a class="btn btn-primary" id="cancel" ng-click="cancel()"><i class="icon icon-remove-sign"></i>Close</a>
                        <a class="btn btn-primary" target="_blank" ng-href="#/tools/quoter?vendor_id={{vendor._id}}"><i class="icon icon-comments-alt"></i> Launch Quoter Tool</a>
                    </div>
                
                </div>
            </div>
            
            <form name="basicForm" class="row" ng-show="isActiveTab(0)" unsaved-changes-warning>
               
               <div class="span10 clearfix"> 
                    <h3>Basic Info</h3>
               </div>
               
                <div class="span4">
                    
                    <label>Vendor Logo</label>
                    <img class="img-rounded img-large" ng-src="{{vendor.logo.original}}" ng-show="vendor.logo.original" title="Logo" /><br/><br/>
                    <button ng-click="pickImage(); basicForm.$setDirty();" class="btn btn-primary">Pick Logo</button>
                    
                    <br /><br />
                    
                    
                    <label>Vendor Name</label>
                    <input type="text" id="name" placeholder="Name" ng-model="vendor.name" class="input-block">
                    <!-- <input type="text" placeholder="Vendor ID" disabled="disabled" ng-model="vendor._id"> -->
                    
                    <label>Website Url</label>
                    <input type="text" class="large" placeholder="Website" class="input-block"ng-model="vendor.website">
                    
                    <label>Business Phone Number</label>
                    <input type="text" class="medium" placeholder="Business Phone" class="input-block" ng-model="vendor.businessPhone">
                    
                    
 
                </div>
                
                <div class="span5">            
                    <label>Address 1</label>
                    <input type="text" class="input-block" placeholder="Address 1" ng-model="vendor.businessAddress.address1">
                    
                    <label>Address 2</label>
                    <input type="text" class="input-block" placeholder="Address 2" ng-model="vendor.businessAddress.address2">
                    
                    <label>City</label>
                    <input type="text" placeholder="City" ng-model="vendor.businessAddress.city">
                    <!-- <input type="text" placeholder="State" ng-model="vendor.state"> -->
                    <label>State</label>
{'fraction_non_alphanumeric': 0.1544055944055944, 'fraction_numerical': 0.006153846153846154, 'mean_word_length': 1.5965867828612927, 'pattern_counts': {'":': 0, '<': 149, '<?xml version=': 0, '>': 149, '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': '1359469', 'n_tokens_mistral': 1929, 'n_tokens_neox': 1775, 'n_words': 331}