Source

Redbeard / templates / new_list.html

{% extends "layout.html" %}
{% block leftblock %}
<article>
	<header>
		<h1>Add New List</h1>
	</header>
	{% from "_partials.html" import render_field %}
	<form action="{{ url_for('new_list') }}" method="post" id="new_key_form">
		{{ form.csrf }}
		{{ render_field(form.key_name) }}
		<fieldset id="members">
			<a class="add_member">+</a>
			{{ render_field(form.member) }}
		</fieldset>
		{{ render_field(form.key_ttl, type="number", class="optional") }}
		<a href="{{ url_for('index') }}" id="cancel">cancel</a>
		<input type="submit" value="Submit">
	</form>

</article>
{% endblock %}

{% block extra_scripts %}
<script src="{{ url_for('static', filename='js/newkeys.js') }}"></script>
{% endblock %}