mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
ui: remove outdated csrfToken field
This commit is contained in:
1 parent
bfee8c8841
commit
f213a3d16c
35 files changed
+10
-59
No files matched your search
@@ -12,7 +12,6 @@
|
||||
</label>
|
||||
</div></div>
|
||||
<div class="row"><div class="columns">
|
||||
<input type="hidden" name="csrfToken" value="{{ handler.csrfToken }}">
|
||||
<button type="submit" class="rounded primary button">
|
||||
{{ _('Import') }}
|
||||
</button>
|
||||
@@ -22,13 +21,12 @@
|
||||
</div></div>
|
||||
</form>
|
||||
<form method="post" enctype="multipart/form-data" action="{{ url('file_upload') }}">
|
||||
<input type="hidden" name="csrfToken" value="{{ handler.csrfToken }}">
|
||||
<p>{{ _('Upload file') }}:
|
||||
<input type="hidden" name="title" value="FPS_IMPORT">
|
||||
<input type="hidden" name="redirect" value="{{ url('problem_import_fps') }}">
|
||||
<input type="file" name="file">
|
||||
<input type="submit" value="{{ _('Upload') }}" class="rounded primary button">
|
||||
</p>
|
||||
<p>{{ _('Upload file') }}:
|
||||
<input type="hidden" name="title" value="FPS_IMPORT">
|
||||
<input type="hidden" name="redirect" value="{{ url('problem_import_fps') }}">
|
||||
<input type="file" name="file">
|
||||
<input type="submit" value="{{ _('Upload') }}" class="rounded primary button">
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user