n>
					    {% if request.user.username == cohort.instructor.username %}
					    	<button id="delete-{{cohort.cohort_name}}" uri="/api/v1/cohort/{{ cohort.cohort_name }}/" cohort-name="{{cohort.cohort_name}}" class="btn btn-xs btn-primary pull-left delete-cohort"><span class="glyphicon glyphicon-trash"></span><span class="sr-only">Delete cohort</span></button>

					    {% elif cohort in memberships %}
					        {% for key, value in membership_uris.items %}
					        {% if key == cohort.cohort_name %