Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cms/server/admin/templates/task.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,12 @@ <h2 id="title_task_configuration" class="toggling_on">Task configuration</h2>
<td>
<span class="info" title="Programming languages that contestants can use to solve this task.
If none are selected, all contest languages are allowed.
Otherwise, only the selected languages (which must be a subset of contest languages) are allowed."></span>
Otherwise, only the selected languages are allowed."></span>
Allowed programming languages
</td>
<td class="wrapping-options">
{% for lang in LANGUAGES %}
<label><input type="checkbox" name="allowed_languages" value="{{ lang.name }}" {{ "checked" if task.allowed_languages is none or lang.name in (task.allowed_languages or []) else "" }}>{{ lang.name }}</label>
<label><input type="checkbox" name="allowed_languages" value="{{ lang.name }}" {{ "checked" if task.allowed_languages is not none and lang.name in task.allowed_languages else "" }}>{{ lang.name }}</label>
{% endfor %}
</td>
</tr>
Expand Down