{{ballot.key}})</label>
            <div class="input-group">
              <input name="key" ng-model="ballot.key" ng-pattern-restrict pattern="\w*" ng-change="checkAvailability()" maxlength="16" class="form-control"><span class="input-group-btn">
                  <button type="button" ng-click="generateRandomKey()" class="btn btn-primary">New Shortcode</button></span>
            </div><span ng-show="errors.key" class="text-danger">{{errors.key}}</span><span ng-show="success.key" class="text-success">{{s