aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-08-05 13:37:47 +0200
committerMario Vavti <mario@mariovavti.com>2016-08-05 13:37:47 +0200
commite7e73e6fd1f2e6d7e9a31ad11aad9f3020c94bbf (patch)
treed9e10014b815ad37f0e0169c0f8e63056713329f /view/tpl
parentbed0a5773fe2300979969b46ef633f28ab84bf43 (diff)
downloadvolse-hubzilla-e7e73e6fd1f2e6d7e9a31ad11aad9f3020c94bbf.tar.gz
volse-hubzilla-e7e73e6fd1f2e6d7e9a31ad11aad9f3020c94bbf.tar.bz2
volse-hubzilla-e7e73e6fd1f2e6d7e9a31ad11aad9f3020c94bbf.zip
multi acl: port /thing
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/thing_edit.tpl5
-rw-r--r--view/tpl/thing_input.tpl5
2 files changed, 4 insertions, 6 deletions
diff --git a/view/tpl/thing_edit.tpl b/view/tpl/thing_edit.tpl
index 356693782..b23584fe1 100644
--- a/view/tpl/thing_edit.tpl
+++ b/view/tpl/thing_edit.tpl
@@ -1,5 +1,5 @@
<h2>{{$thing_hdr}}</h2>
-<form action="thing" method="post" >
+<form id="thing-edit-form" action="thing" method="post" class="acl-form" data-form_id="thing-edit-form" data-allow_cid='{{$allow_cid}}' data-allow_gid='{{$allow_gid}}' data-deny_cid='{{$deny_cid}}' data-deny_gid='{{$deny_gid}}'>
<input type="hidden" name="term_hash" value="{{$thing_hash}}" />
{{if $multiprof }}
@@ -29,8 +29,6 @@
<div class="thing-end"></div>
-{{$aclselect}}
-
{{if $lockstate}}
<button id="dbtn-acl" class="btn btn-default btn-sm" data-toggle="modal" data-target="#aclModal" onclick="return false;">
<i id="jot-perms-icon" class="fa fa-{{$lockstate}}"></i>
@@ -40,3 +38,4 @@
<input type="submit" class="thing-submit" name="submit" value="{{$submit}}" />
</form>
+{{$aclselect}}
diff --git a/view/tpl/thing_input.tpl b/view/tpl/thing_input.tpl
index 75497e878..3e178925c 100644
--- a/view/tpl/thing_input.tpl
+++ b/view/tpl/thing_input.tpl
@@ -1,5 +1,5 @@
<h2>{{$thing_hdr}}</h2>
-<form action="thing" method="post" >
+<form id="thing-new-form" action="thing" method="post" class="acl-form" data-form_id="thing-new-form" data-allow_cid='{{$allow_cid}}' data-allow_gid='{{$allow_gid}}' data-deny_cid='{{$deny_cid}}' data-deny_gid='{{$deny_gid}}'>
{{if $multiprof }}
<div class="thing-profile-label">{{$profile_lbl}}</div>
@@ -29,8 +29,6 @@
<div class="thing-end"></div>
-{{$aclselect}}
-
{{if $lockstate}}
<button id="dbtn-acl" class="btn btn-default btn-sm" data-toggle="modal" data-target="#aclModal" onclick="return false;">
<i id="jot-perms-icon" class="fa fa-{{$lockstate}}"></i>
@@ -40,3 +38,4 @@
<input type="submit" class="thing-submit" name="submit" value="{{$submit}}" />
</form>
+{{$aclselect}}