m-group">
            <label>New Ballot Name</label>
            <input name="name" ng-model="dupBallot.name" class="form-control"><span ng-show="errors.name" class="text-danger">{{errors.name}}</span>
          </div>
          <div class="form-group">
            <label>Please enter a new Shortcode</label>
            <div class="input-group">
              <input name="key" ng-model="dupBallot.key" ng-pattern-restrict pattern="\w*" ng-change="checkAvailability()" maxlength="16" class="form-control">
    