mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: 允许导入题目时保留上传者
This commit is contained in:
1 parent
c49a24017f
commit
f7225fdc26
3 files changed
+10
-5
No files matched your search
@@ -6,8 +6,9 @@
|
||||
<div class="section__body">
|
||||
<form method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" name="csrfToken" value="{{ handler.csrfToken }}">
|
||||
<p>{{ _('Upload zipfile') }} ({{ _('Type') }}: {{type}}):
|
||||
<p>{{ _('Upload zipfile') }} {% if type %}({{ _('Type') }}: {{type}}){% endif %}:
|
||||
<input type="file" name="file">
|
||||
{% if handler.user.hasPriv(PRIV.PRIV_EDIT_SYSTEM) not type %}<input type="checkbox" name="keepUser">{% endif %}
|
||||
<input type="submit" value="{{ _('Upload') }}" class="rounded primary button">
|
||||
</p>
|
||||
</form>
|
||||
|
||||
Reference in new issue
Block a user