mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 05:54:19 +01:00
Add guidance for CSV imports (#1975)
This commit is contained in:
@@ -55,6 +55,15 @@
|
|||||||
<div role="tabpanel" class="tab-pane" id="import-csv">
|
<div role="tabpanel" class="tab-pane" id="import-csv">
|
||||||
{% with form = Forms.config.ImportCSVForm() %}
|
{% with form = Forms.config.ImportCSVForm() %}
|
||||||
<form method="POST" action="{{ url_for('admin.import_csv') }}" enctype="multipart/form-data">
|
<form method="POST" action="{{ url_for('admin.import_csv') }}" enctype="multipart/form-data">
|
||||||
|
<div class="form-group">
|
||||||
|
<div class="alert alert-info" role="alert">
|
||||||
|
<small class="text-muted text-right">
|
||||||
|
<a href="https://docs.ctfd.io/docs/imports/csv/" target="_blank">
|
||||||
|
<i class="far fa-question-circle"></i> Instructions and CSV templates
|
||||||
|
</a>
|
||||||
|
</small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<b>{{ form.csv_type.label }}</b>
|
<b>{{ form.csv_type.label }}</b>
|
||||||
{{ form.csv_type(class="form-control custom-select") }}
|
{{ form.csv_type(class="form-control custom-select") }}
|
||||||
|
|||||||
Reference in New Issue
Block a user