You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
640 B

{% extends "base" %}
{% block content %}
<form method="POST" action="/new/perms">
<label for="list_id">List to share</label>
<select id="list_id" name="list_id">
{% for list in lists %}
<option value="{{ list.id }}">{{ list.name }}</option>
{% endfor %}
</select>
<label for="email">Email of user you want to add these perms to</label>
<input type="email" name="user_email" id="email">
<label for="perms">Permissions</label>
<select id="perms" name="perm">
<option value="1">Read</option>
<option value="2">Write</option>
</select>
<input type="submit" value="Add Permission">
</form>
{% endblock %}