Parent: [3abb2e] (diff)

Child: [462c18] (diff)

Download this file

project_invitations.html    24 lines (20 with data), 962 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{% extends 'jinja_master/master.html' %}
{% block title %}{{c.project.name}} / Neighborhood Invitation(s){% endblock %}
{% block header %}Neighborhood Invitation(s) for {{c.project.shortname}}{% endblock %}
{% block content %}
{% if c.project.deleted %}
<div class="notice">This project has been deleted and is not visible to non-admin users</div>
{% endif %}
<form method="POST" action="join_neighborhood">
<select name="nid">
{% if c.project.neighborhood.name != 'Projects' %}
<option value="">
Leave {{c.project.neighborhood.name}}</option>
{% endif %}
{% for n in h.make_neighborhoods(c.project.neighborhood_invitations) %}
<option value="{{n._id}}">{{n.name}}</option>
{% endfor %}
</select>
<input type="submit" value="Join Neighborhood"/>
</form>
{% endblock %}