<commit_before><section class="container">
  <div class="page-header">
    <h3>{{vm.vote._id ? 'Edit Vote' : 'New Vote'}}</h3>
  </div>
  <div class="col-md-12">
    <form name="vm.form.voteForm" class="form-horizontal" ng-submit="vm.save(vm.form.voteForm.$valid)" novalidate>
      <fieldset>
        <!-- Poll -->
        <div class="form-group" show-errors>
          <label class="control-label" for="poll">Poll</label>
          <select id="poll" name="poll" ng-model="vm.vote.poll" class="form-control" ng-options="poll as poll.title for poll in vm.polls" required ng-change="vm.selectPoll()">
          </select>
          <div ng-messages="vm.form.voteForm.poll.$error" role="alert">
            <p class="help-block error-text" ng-message="required">Poll is required.</p>
          </div>
        </div>
        <!-- Options -->
        <div class="form-group">
          <label class="control-label" for="opt">Options</label>
          <button type="button" class="btn btn-default" ng-model="vm.selectedOpts" data-html="1" data-multiple="1" data-animation="am-flip-x" bs-options="opt as opt.title for opt in vm.opts" bs-select required>
            Action <span class="caret"></span>
          </button>
        </div>
        <div class="form-group">
          <button type="submit" class="btn btn-default">{{vm.vote._id ? 'Update' : 'Create'}}</button>
        </div>
        <div ng-show="vm.error" class="text-danger">
          <strong ng-bind="vm.error"></strong>
        </div>
      </fieldset><commit_msg>Commited from lenh at 2017年 6月 20日 火曜日 10:20:20<commit_after><section class="container">
  <div class="page-header">
    <h3>{{vm.vote._id ? 'Edit Vote' : 'New Vote'}}</h3>
  </div>
  <div class="col-md-12">
    <form name="vm.form.voteForm" class="form-horizontal" ng-submit="vm.save(vm.form.voteForm.$valid)" novalidate>
      <fieldset>
        <!-- Poll -->
        <div class="form-group" show-errors>
          <label class="control-label" for="poll">Poll</label>
          <select id="poll" name="poll" ng-model="vm.vote.poll" class="form-control" ng-options="poll as poll.title for poll in vm.polls" required ng-change="vm.selectPoll()">
          </select>
          <div ng-messages="vm.form.voteForm.poll.$error" role="alert">
            <p class="help-block error-text" ng-message="required">Poll is required.</p>
          </div>
        </div>
        <!-- Options -->
        <pre>{{vm.opts | json}}</pre>
        <div class="form-group">
          <label class="control-label" for="opt">Options</label>
          <button type="button" class="btn btn-default form-control" ng-model="vm.selectedOpts" data-html="1" data-multiple="1" data-animation="am-flip-x" bs-options="opt as opt.title for opt in vm.opts" bs-select required>
            Action <span class="caret"></span>
          </button>
        </div>
        <div class="form-group">
          <button type="submit" class="btn btn-default">{{vm.vote._id ? 'Update' : 'Create'}}</button>
        </div>
        <div ng-show="vm.error" class="text-danger">
          <strong ng-bind="vm.error"></strong>
        </div>
      </fieldset>
{'fraction_non_alphanumeric': 0.19214810086179382, 'fraction_numerical': 0.007979572294924991, 'mean_word_length': 2.6870588235294117, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, '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': '5896025', 'n_tokens_mistral': 1037, 'n_tokens_neox': 999, 'n_words': 200}