Adds a UI in studio to toggle discussions for a units if a course is using a discussion provider that supports it and per-unit discussion control is enabled. Co-authored-by: Kshitij Sobti <kshitij@opencraft.com Co-authored-by: Agrendalath <piotr@surowiec.it>
12 lines
346 B
Plaintext
12 lines
346 B
Plaintext
<form>
|
|
<h3 class="modal-section-title">
|
|
<%- gettext('Discussion') %>
|
|
</h3>
|
|
<div class="modal-section-content discussion-enabled">
|
|
<label class="label">
|
|
<input type="checkbox" id="discussion_enabled" name="discussion_enabled" class="input input-checkbox" />
|
|
<%- gettext('Enable discussion') %>
|
|
</label>
|
|
</div>
|
|
</form>
|