{% 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.

{% else %} {% if form.errors %}
{% blocktrans trimmed %}Please fix the errors in the form.{% endblocktrans %}
{% endif %}
{% csrf_token %} {% if not session.mturk_HITId %} {% include 'otree/forms/layouts/bootstrap.html' %} {% if missing_next_button_warning %}
{{ missing_next_button_warning }}
{% endif %} {% else %}

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

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

Do not delete this session or reset your database unless (a) all start links have been used or (b) the HIT has expired or (c) you have manually expired the HIT. Otherwise, MTurk workers will get a "page not found" error.

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