Skip to content

Commit

Permalink
Add guidance for CSV imports (CTFd#1975)
Browse files Browse the repository at this point in the history
  • Loading branch information
ColdHeat authored Aug 10, 2021
1 parent 406c8c0 commit c903fc4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CTFd/themes/admin/templates/configs/backup.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@
<div role="tabpanel" class="tab-pane" id="import-csv">
{% with form = Forms.config.ImportCSVForm() %}
<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">
<b>{{ form.csv_type.label }}</b>
{{ form.csv_type(class="form-control custom-select") }}
Expand Down

0 comments on commit c903fc4

Please sign in to comment.