{% extends "layout.html" %}
{% block head %}
	{{ super() }}
	<title>{{ site_name }} - Create poll</title>
	<script src="/static/addInput.js"></script>
{% endblock %}
{% block body %}
<div id="container">
    <form action="/create" method="post" id="qform">
        <input type="text" name="title" placeholder="Title" style="margin-bottom:10px;"/>
        <div id="inputs">
        <input type="text" name="q1" placeholder="Enter poll option..." onfocus="addNewInput(this);"/>
        </div>
        <input type="submit" value="Submit (or die)"/>
    </form>
</div>
{% endblock %}
