Commit 4017f1de by Usman Khalid

Updated labels in templates.

TNL-708
parent bde05fec
......@@ -4,9 +4,13 @@
{% for part in answer.parts %}
<li class="submission__answer__part">
<article class="submission__answer__part__prompt">
{{ part.prompt.description|linebreaks }}
<h2 class="submission__answer__part__prompt__title">{% trans "The question for this section." %}</h2>
<div class="submission__answer__part__prompt__value">
{{ part.prompt.description|linebreaks }}
</div>
</article>
<div class="submission__answer__part__text">
<h2 class="submission__answer__part__text__title">{% trans answer_text_label %}</h2>
<div class="submission__answer__part__text__value">
{{ part.text|linebreaks }}
</div>
......
......@@ -66,7 +66,7 @@
</h3>
</header>
{% include "openassessmentblock/oa_submission_answer.html" with answer=peer_submission.answer %}
{% include "openassessmentblock/oa_submission_answer.html" with answer=peer_submission.answer answer_text_label="Your peer's response to the question above:" %}
{% if allow_file_upload and peer_file_url %}
<header class="peer-assessment__display__header">
......
......@@ -50,7 +50,7 @@
</h3>
</header>
{% include "openassessmentblock/oa_submission_answer.html" with answer=peer_submission.answer %}
{% include "openassessmentblock/oa_submission_answer.html" with answer=peer_submission.answer answer_text_label="Your peer's response to the question above:" %}
{% if allow_file_upload and peer_file_url %}
<header class="peer-assessment__display__header">
......
......@@ -55,18 +55,18 @@
{% for part in saved_response.answer.parts %}
<li class="submission__answer__part">
<article class="submission__answer__part__prompt ui-toggle-visibility">
<h2 class="submission__answer__part__prompt__title">{% trans "The prompt for this assignment" %}</h2>
<h2 class="submission__answer__part__prompt__title">{% trans "The prompt for this section." %}</h2>
<div class="submission__answer__part__prompt__copy ui-toggle-visibility__content">
{{ part.prompt.description|linebreaks }}
</div>
</article>
<div class="field field--textarea submission__answer__part__text">
<label class="sr" for="submission__answer__part__text__{{ forloop.counter }}">{% trans "Enter your response to the question." %}</label>
<label class="sr" for="submission__answer__part__text__{{ forloop.counter }}">{% trans "Your response to the question above." %}</label>
<textarea
id="submission__answer__part__text__{{ forloop.counter }}"
class="submission__answer__part__text__value"
placeholder=""
placeholder="Enter your response to the question above."
maxlength="100000"
>{{ part.text }}</textarea>
</div>
......
......@@ -42,7 +42,7 @@
<article class="submission__answer__display">
<h3 class="submission__answer__display__title">{% trans "Your Response" %}</h3>
{% include "openassessmentblock/oa_submission_answer.html" with answer=student_submission.answer %}
{% include "openassessmentblock/oa_submission_answer.html" with answer=student_submission.answer answer_text_label="Your response to the question above:" %}
{% if allow_file_upload and file_url %}
<h3 class="submission__answer__display__title">{% trans "Your Image" %}</h3>
......
......@@ -43,7 +43,7 @@
<h3 class="self-assessment__display__title">{% trans "Your Response" %}</h3>
</header>
{% include "openassessmentblock/oa_submission_answer.html" with answer=self_submission.answer %}
{% include "openassessmentblock/oa_submission_answer.html" with answer=self_submission.answer answer_text_label="Your response to the question above:" %}
{% if allow_file_upload and self_file_url %}
<header class="self-assessment__display__header">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment