Add QuestionReviewForm to question review view and update template to include form
This commit is contained in:
@@ -54,6 +54,10 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% comment %} <span class="btn btn-sm btn-outline-success" data-bs-toggle="modal" data-bs-target="#reviewModal" hx-get="{% url 'sbas:question_set_review' question.pk %}?edit=1&new=1" hx-target="#review-form" hx-swap="innerHTML" hx-trigger="load">Add Review</button> {% endcomment %}
|
||||
|
||||
<form id="review-form">
|
||||
{% include 'generic/partials/question_review_form.html' with app_name='sbas' question=question form=form %}
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user