diff options
author | friendica <info@friendica.com> | 2014-05-05 16:03:38 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-05-05 16:03:38 -0700 |
commit | 94b2ac6abb193452fd357e0bf609f6991ff8115a (patch) | |
tree | cf98f662926e019c8158c0e0231cde70f4f3bb99 /view/tpl | |
parent | cea62a0e733b6ce82f6ebd87d22a37ce639c10bc (diff) | |
download | volse-hubzilla-94b2ac6abb193452fd357e0bf609f6991ff8115a.tar.gz volse-hubzilla-94b2ac6abb193452fd357e0bf609f6991ff8115a.tar.bz2 volse-hubzilla-94b2ac6abb193452fd357e0bf609f6991ff8115a.zip |
put permissions dialog inside the form element - should fix issue #444
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/attach_edit.tpl | 4 |
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}}" /> |