<commit_before><!--
  Copyright 2014 TWO SIGMA OPEN SOURCE, LLC

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

         http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->

<div ng-repeat="property in properties" class="form-group language-option property clearfix">
  
  <label ng-if="property.type === availableProperties.STRING">{{ property.name }}</label>
  <textarea ng-if="property.type === availableProperties.STRING" ng-class="{'edited-property': property.edited && highlight}" class="form-control" ng-model="evaluator.settings[property.key]"></textarea>
  <button ng-if="property.type === availableProperties.STRING" class="btn btn-default pull-right set" ng-click="set(property)">Set</button>

  <input class="afterCheckbox hidden" id="{{property.name}}-checkbox" ng-if="property.type === availableProperties.BOOLEAN" type="checkbox" ng-model="evaluator.settings[property.key]" ng-change="set(property)"/>
  <label ng-if="property.type === availableProperties.BOOLEAN" for="{{property.name}}-checkbox">{{property.name}}</label>

  <label ng-if="property.type === availableProperties.ENUM">{{ property.name }}</label>
  <div>
    <!-- We need to generalize ambiance radio button that is specialized only for EasyForm and use it here -->
    <input style="visibility: visible;" ng-if="property.type === availableProperties.ENUM" ng-repeat-start="value in property.values" id="{{property.name}}-{{value}}-radio" name="{{property.name}}" value="{{value}}" type="radio" ng-model="evaluator.settings[property.key]" ng-change="set(property)" />
    <label ng-if="property.type === availableProperties.ENUM" ng-repeat-end for="{{property.name}}-{{value}}-radio">{{value}}</label>
  </div>

</div>
<div ng-repeat="action in actions" class="action language-option clearfix">
  <button class="btn btn-default" ng-click="evaluator.perform(action.key)">{{ action.name }}</button>
</div><commit_msg>#3587 - Fixed radio buttons spacing in language manager<commit_after><!--
  Copyright 2014 TWO SIGMA OPEN SOURCE, LLC

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

         http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->

<div ng-repeat="property in properties" class="form-group language-option property clearfix">
  
  <label ng-if="property.type === availableProperties.STRING">{{ property.name }}</label>
  <textarea ng-if="property.type === availableProperties.STRING" ng-class="{'edited-property': property.edited && highlight}" class="form-control" ng-model="evaluator.settings[property.key]"></textarea>
  <button ng-if="property.type === availableProperties.STRING" class="btn btn-default pull-right set" ng-click="set(property)">Set</button>

  <input class="afterCheckbox hidden" id="{{property.name}}-checkbox" ng-if="property.type === availableProperties.BOOLEAN" type="checkbox" ng-model="evaluator.settings[property.key]" ng-change="set(property)"/>
  <label ng-if="property.type === availableProperties.BOOLEAN" for="{{property.name}}-checkbox">{{property.name}}</label>

  <div class="radio" ng-if="property.type === availableProperties.ENUM">
    <h6>{{ property.name }}</h6>
    <label class="radio-inline" ng-repeat="value in property.values">
      <!-- We need to generalize ambiance radio button that is specialized only for EasyForm and use it here -->
      <input style="visibility: visible; margin-top: 0px;" name="{{::property.name}}" value="{{::value}}" type="radio" ng-model="evaluator.settings[property.key]" ng-change="set(property)" />{{value}}
    </label>
  </div>

</div>
<div ng-repeat="action in actions" class="action language-option clearfix">
  <button class="btn btn-default" ng-click="evaluator.perform(action.key)">{{ action.name }}</button>
</div>
{'fraction_non_alphanumeric': 0.15450174825174826, 'fraction_numerical': 0.005026223776223776, 'mean_word_length': 5.193504736129905, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 51, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6821516', 'n_tokens_mistral': 1293, 'n_tokens_neox': 1255, 'n_words': 377}