Skip to content

Commit

Permalink
Fixed the base file so that the content is supplied dynamically
Browse files Browse the repository at this point in the history
  • Loading branch information
punkdata committed May 22, 2016
1 parent 406562d commit c820e6a
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions wsgi/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,6 @@
<link rel=stylesheet type=text/css href="{{ url_for('static', filename='prezpoll.css') }}">
</head>
<body class="bodyclass ">
{% block content %}{% endblock %}
<SCRIPT TYPE="text/javascript">

function TestDataCheck(form)
{
var rd = form.vote;
for (var i=0; el=rd[i]; i++) {
if (el.checked) return true;
}
alert("Don't Be a Coward and Pick a Candidate!");
return false;
}
</SCRIPT>

{% block content %}{% endblock %}
</body>
</html>

0 comments on commit c820e6a

Please sign in to comment.