Skip to content

Instantly share code, notes, and snippets.

@jimmyislive
Created November 15, 2014 20:16
Show Gist options
  • Select an option

  • Save jimmyislive/5b0f4a239443a3cb95e4 to your computer and use it in GitHub Desktop.

Select an option

Save jimmyislive/5b0f4a239443a3cb95e4 to your computer and use it in GitHub Desktop.

Revisions

  1. jimmyislive created this gist Nov 15, 2014.
    6 changes: 6 additions & 0 deletions form
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    <div class="control-group">
    <label class="hidden" for="inputPot">Do not fill me in</label>
    <div class="controls">
    <input class="hidden" type="text" id="inputPot" placeholder="pot" ng-model="session.packagePot" name="packagePot">
    </div>
    </div>
    4 changes: 4 additions & 0 deletions server
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    if (req.params.packagePot !== undefined) {
    // 403 = HTTP forbidden
    return res.json(403, 'Are you a bot?');
    }