Created
January 1, 2013 20:50
-
-
Save adamzr/4429919 to your computer and use it in GitHub Desktop.
CSP Example:
Voting Page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>List of jokes</h1> | |
<ul> | |
<li> | |
<p>Why did the chicken cross the road? To get to the other side!</p> | |
<form action="vote" method="post"> | |
<input type="hidden" name="joke_id" value="1" /> | |
<input type="submit" name="Vote"/> | |
</form> | |
</li> | |
<li> | |
<p>A man walks into a bar. Ouch!</p> | |
<form action="vote" method="post"> | |
<input type="hidden" name="joke_id" value="2" /> | |
<input type="submit" name="Vote"/> | |
</form> | |
</li> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment