{% extends "otree/admin/Session.html" %} {% load otree i18n %} {% block content %} {{ block.super }} {% if not mturk_ready %}

MTurk is currently disabled. If you want to publish your HIT on MTurk please do the following steps:

Step Done?
Run pip3 install otree[mturk] and in your requirements_base.txt, replace otree==N.N.N with otree[mturk]==N.N.N. This will install oTree along with extra MTurk-specific packages. {% if boto3_installed %}Yes{% else %}No{% endif %}
Set the settings AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY {% if aws_keys_exist %}Yes{% else %}No{% endif %}
View this page with HTTPS.
  1. If using Heroku, you can simply change the URL in your browser's address bar to start with 'https://' and reload this page.
{% if https %}Yes{% else %}No{% endif %}

You can read more about Amazon Mechanical Turk integration here.

{% elif session.mturk_is_expired %}

This HIT has expired, so workers can no longer accept assignments.

{% elif session.mturk_HITId %}

You have published HIT for this session on MTurk {% if session.mturk_use_sandbox %} Sandbox {% endif %} .

To look at the HIT as a worker follow this link.

{% csrf_token %}

The above button will expire this HIT early. You should click this button before deleting the session. Otherwise, your nonexistent session will still be advertised on the MTurk website, and MTurk workers will get a "page not found" error. (However, it is safe to delete the session if all assignments have been submitted.)

{% else %} {% if form.errors %}
{% blocktrans trimmed %}Please fix the errors in the form.{% endblocktrans %}
{% endif %}
{% csrf_token %} {% include 'otree/forms/layouts/bootstrap.html' %} {% if missing_next_button_warning %}
{{ missing_next_button_warning }}
{% endif %}
{% endif %} {% include "otree/includes/messages.html" %} {% endblock %}