add suggested answers to anatomy
This commit is contained in:
@@ -23,7 +23,12 @@
|
||||
Unmarked:
|
||||
<ul id="new-answer-list" class="answer-list">
|
||||
{% for answer in user_answers %}
|
||||
<li><pre><span class="answer not-marked" title="{{answer}}" data-answerurl="{% url 'anatomy:question_user_answers_by_compare' question.pk answer %}">{{ answer }}</span></pre></li>
|
||||
|
||||
{% if answer in answer_suggest_incorrect %}
|
||||
<li><pre><span class="answer incorrect suggest" title="{{answer}}" data-answerurl="{% url 'anatomy:question_user_answers_by_compare' question.pk answer %}">{{ answer }}</span></pre></li>
|
||||
{% else %}
|
||||
<li><pre><span class="answer not-marked" title="{{answer}}" data-answerurl="{% url 'anatomy:question_user_answers_by_compare' question.pk answer %}">{{ answer }}</span></pre></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
Marked:
|
||||
@@ -112,6 +117,9 @@
|
||||
|
||||
{% block css %}
|
||||
<style>
|
||||
.suggest {
|
||||
border: 1px dashed;
|
||||
}
|
||||
#primary-answer {
|
||||
font-weight: strong;
|
||||
color: white;
|
||||
|
||||
@@ -62,6 +62,9 @@
|
||||
<div>
|
||||
Answer help: {{ question.answer_help|safe }}
|
||||
</div>
|
||||
<div>
|
||||
Answer suggest incorrect: {{ question.answer_suggest_incorrect }}
|
||||
</div>
|
||||
<div>
|
||||
Description: {{ question.description }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user