{% extends "otree/Session.html" %} {% block content %} {{ super() }} {% if not mturk_ready %}

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

    {% if not boto3_installed %}
  1. Run pip3 install "otree[mturk]" and in your requirements file, replace otree>=N.N.N with otree[mturk]>=N.N.N. This will install oTree along with extra MTurk-specific packages.
  2. {% endif %} {% if not is_new_format %}
  3. Add template to your MTurk settings, and remove preview_template. Then create a new session. This is a new requirement as of oTree 2.4.
  4. {% endif %} {% if not is_usd %}
  5. Set your REAL_WORLD_CURRENCY_CODE to USD
  6. {% endif %} {% if not aws_keys_exist %}
  7. Set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
  8. {% endif %}
{% 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 %}
{% csrf_token %}

If this box is checked, your HIT will not be published to the MTurk live site, but rather to the MTurk Sandbox, so you can test how it will look to MTurk workers.

When you click the below button, your HIT will be immediately published on MTurk.

{% endif %} {% include "otree/includes/messages.html" %} {% endblock %}