<commit_before>
    <div class="col-lg-1">
        <img ng-src="{{(service.isActive)?'../../red.png':'../../grey.png'}}" />    
    </div>
    <div class="col-lg-3">
    <label for="pin">&nbsp;</label>
        <button class="btn btn-default" ng-show="!service.isEnabled" ng-click="enable()">enable</button>
        <button class="btn btn-default" ng-show="service.isEnabled" ng-click="disable()">disable</button>
    </div>
    <div class="col-lg-4">
    <label for="controller">control</label>            
        <input class="form-control" id="controller" type="text" ng-model="service.pinControl.name" ng-disabled="service.isAttached"/>
    </div>
    <div class="col-lg-4">
        <label for="pin">pin</label>
        <input class="form-control" id="pin" type="text" ng-model="service.pin" ng-disabled="service.isAttached"/>
    </div>



<commit_msg>Update PIR for better display<commit_after><form class="form-inline" role="forms">
    <div class="row">
        <div class="col-md-12">&nbsp;</div>
    </div>
    <div class="row">
        <div class="form-group">
            &nbsp;&nbsp;&nbsp;<img ng-src="{{(service.isActive)?'../../green.png':'../../grey.png'}}" />
            <label for="pin">&nbsp;</label>   
            <button class="form-control" ng-show="!service.isEnabled" ng-click="enable()">enable</button><button class="form-control" ng-show="service.isEnabled" ng-click="disable()">disable</button>
            <label for="controller">&nbsp;</label>           
            <input class="form-control" id="controller" title="Select your controller for this device" type="text" placeholder="controller" ng-model="service.pinControl.name" ng-disabled="service.isAttached"/>
            <label for="pin">&nbsp;</label>
            <input class="form-control" id="pin" title="Which pin will trigger this device" type="text" placeholder="pin" ng-model="service.pin" ng-disabled="service.isAttached"/>
        </div>
    </div>
</form>
{'fraction_non_alphanumeric': 0.2114695340501792, 'fraction_numerical': 0.0030721966205837174, 'mean_word_length': 3.2757111597374178, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, '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': '2142715', 'n_tokens_mistral': 607, 'n_tokens_neox': 594, 'n_words': 103}