aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--view/tpl/attach_edit.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/attach_edit.tpl b/view/tpl/attach_edit.tpl
index 3a4f0dd2a..68b44c65c 100644
--- a/view/tpl/attach_edit.tpl
+++ b/view/tpl/attach_edit.tpl
@@ -2,6 +2,8 @@
<h1>{{$header}}</h1>
+<form action="filestorage/{{$channelnick}}/{{$file.id}}/edit" method="post" >
+
<div id="attach-edit-perms" >
<button class="btn btn-default btn-sm" data-toggle="modal" data-target="#aclModal" title="{{$permset}}" onclick="return false;">
<i id="jot-perms-icon" class="icon-{{$lockstate}} jot-icons"></i>
@@ -9,8 +11,6 @@
{{$aclselect}} {{$file.filename}}
</div>
-<form action="filestorage/{{$channelnick}}/{{$file.id}}/edit" method="post" >
-
<input type="hidden" name="channelnick" value="{{$channelnick}}" />
<input type="hidden" name="filehash" value="{{$file.hash}}" />
<input type="hidden" name="uid" value="{{$uid}}" />