Merge pull request #17981 from eileenmcnaughton/merge_form
[civicrm-core.git] / templates / CRM / ACL / Form / ACLBasic.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
1188c7a8 3 | Copyright CiviCRM LLC. All rights reserved. |
6a488035 4 | |
1188c7a8
TO
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
6a488035
TO
8 +--------------------------------------------------------------------+
9*}
10{* this template is used for adding/editing ACL *}
11<div class="form-item">
12<fieldset><legend>{if $action eq 1}{ts}New ACL{/ts}{elseif $action eq 2}{ts}Edit ACL{/ts}{else}{ts}Delete ACL{/ts}{/if}</legend>
13
14{if $action eq 8}
15 <div class="messages status no-popup">
16 <dl>
34d6cec4 17 <dt>{icon icon="fa-info-circle"}{/icon}</dt>
edc51caa 18 <dd>
6a488035
TO
19 {ts}WARNING: Delete will remove this permission from the specified ACL Role.{/ts} {ts}Do you want to continue?{/ts}
20 </dd>
21 </dl>
22 </div>
23{else}
24 <dl>
25 <dt>{$form.entity_id.label}</dt><dd>{$form.entity_id.html}</dd>
26 <dt>&nbsp;</dt><dd class="description">{ts}Select a Role to assign (grant) this permission to. Select the special role 'Everyone' if you want to grant this permission to ALL users. 'Anyone' includes anonymous (i.e. not logged in) users.{/ts}</dd>
27 </dl>
28 <dl>
29 <dt>{$form.object_table.label}</dt>
30<dd>
31<table>
32<tr><td>
33{$form.object_table.html}
34</td></tr>
35</table>
36</dd>
37 </dl>
38{/if}
edc51caa 39 <dl>
6a488035 40 <dt></dt><dd>{$form.buttons.html}</dd>
edc51caa 41 </dl>
6a488035
TO
42</fieldset>
43</div>
44