Files
CTFd/CTFd/plugins/challenges/assets/view.html
Kevin Chung a30437c1fa Get basic implementation of HTML sanitization working for pages (#1462)
* Closes #1332
* Pages by default now strip script tags and other potential XSS vectors
* lxml and html5lib are now pinned dependencies
* Challenge plugins rewritten to allow for better re-useability of template content and allow more control from the theme side
2020-06-12 01:10:27 -04:00

16 lines
462 B
HTML

{% extends "challenge.html" %}
{% block description %}
{{ challenge.html }}
{% endblock %}
{% block input %}
<input id="challenge-id" class="challenge-id" type="hidden" value="{{ challenge.id }}">
<input id="challenge-input" class="challenge-input" type="text" name="answer" placeholder="Flag"/>
{% endblock %}
{% block submit %}
<button id="challenge-submit" class="challenge-submit" type="submit">
Submit
</button>
{% endblock %}