{% extends 'exp/base.html' %} {% load bootstrap3 %} {% load guardian_tags %} {% block title %}Edit | {{ study.name }}{% endblock %} {% block flash %} {% if messages %} {% for message in messages %} {% if message.extra_tags != 'user_added' and message.extra_tags != 'user_removed' %}
× {{ message }}
{% endif %} {% endfor %} {% endif %} {% endblock %} {% block content %}
{% get_obj_perms user for study as "study_perms" %}

Description and Discoverability

{% csrf_token %} {% include "studies/_study_fields.html" with form=form study=study %}
{% buttons %} Cancel {% if save_confirmation %} Save Changes {% else %} {% endif %} {% endbuttons %}

Manage Researchers

{% if messages %} {% for message in messages %} {% if message.extra_tags == 'user_added' or message.extra_tags == 'user_removed' %}
× {{ message }}
{% endif %} {% endfor %} {% endif %}
{% if users_result %}

Results

{% for user in users_result %} {% endfor %}
{% include 'studies/_paginator.html' with items=users_result request=request %}
{% else %} {% if search_query %}

No results found!

{% endif %} {% endif %}

Researchers

Researchers belonging to this study's admin and read groups. {{ study.organization.name }} Admins will automatically be able to edit this study, regardless of study group.
{% for researcher in current_researchers %} {% get_obj_perms researcher for study as "study_perms" %}
{{ researcher.identicon_small_html }} {{ researcher.get_short_name }} {% if researcher.is_org_admin %} *{{ study.organization.name }} Admin {% endif %}
{% csrf_token %}
{% endfor %}
{% include 'studies/_study_status.html' with study=study %}
{% endblock %}