{% include "problem_notifications.html" with notification_name='hint' notification_type='problem-hint' notification_icon='fa-question' notification_message='' %}
{% endif %}
{% if demand_hint_possible %}
{% endif %}
{% if save_button %}
{% endif %}
{% if attempts_used and reset_button %}
{% endif %}
{% if answer_available %}
{% endif %}
{% if submit_disabled_cta %}
{% if submit_disabled_cta.event_data %}
({{ submit_disabled_cta.description }})
{% else %}
{% endif %}
{% endif %}
{% comment %} When attempts are not 0, the CTA above will contain a message about the number of used attempts {% endcomment %}
{% if attempts_allowed and not submit_disabled_cta or attempts_allowed and attempts_used == 0 %}
{% filter force_escape %}
{% blocktrans count num_total=attempts_allowed %}You have used {{ attempts_used }} of {{ num_total }} attempt.{% plural %}You have used {{ attempts_used }} of {{ num_total }} attempts{% endblocktrans %}
{% endfilter %}
{% endif %}
{% if grading_method %}
{% trans "Grading method:" as grading_text %}{{ grading_text|force_escape }} {{ grading_method }}
{% endif %}
{% trans "Some problems have options such as save, reset, hints, or show answer. These options follow the Submit button." as options_sr %}{{ options_sr|force_escape }}
{% include "problem_notifications.html" with notification_type='warning' notification_icon='fa-exclamation-circle' notification_name='gentle-alert' notification_message='' %}
{% if answer_notification_type %}
{% if answer_notification_type == 'correct' %}
{% include "problem_notifications.html" with notification_type='success' notification_icon='fa-check' notification_name='submit' is_hidden=False notification_message=answer_notification_message %}
{% endif %}
{% if answer_notification_type == 'incorrect' %}
{% include "problem_notifications.html" with notification_type='error' notification_icon='fa-close' notification_name='submit' is_hidden=False notification_message=answer_notification_message %}
{% endif %}
{% if answer_notification_type == 'partially-correct' %}
{% include "problem_notifications.html" with notification_type='success' notification_icon='fa-asterisk' notification_name='submit' is_hidden=False notification_message=answer_notification_message %}
{% endif %}
{% if answer_notification_type == 'submitted' %}
{% include "problem_notifications.html" with notification_type='general' notification_icon='fa-info-circle' notification_name='submit' is_hidden=False notification_message=answer_notification_message %}
{% endif %}
{% endif %}
{% if has_saved_answers %}
{% include "problem_notifications.html" with notification_type='warning' notification_icon='fa-save' notification_name='save' notification_message=save_message is_hidden=False %}
{% else %}
{% include "problem_notifications.html" with notification_type='warning' notification_icon='fa-save' notification_name='save' notification_message=save_message is_hidden=True %}
{% endif %}
{# xss-lint: disable=django-trans-missing-escape #}
{% trans "Answers are displayed within the problem" as notification_message %}
{% with notification_message=notification_message|force_escape %}
{% include "problem_notifications.html" with notification_type='general' notification_icon='fa-info-circle' notification_name='show-answer' notification_message=notification_message is_hidden=True %}
{% endwith %}