aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/field_acheckbox.tpl
blob: 7e2a92769491405e4cceb6c2ab54f69d1a6669b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<tr>
	<td>
		<label class="mainlabel" for="me_id_{{$field.0}}">{{$field.1}}</label>
		<span class="field_abook_help">{{$field.6}}</span>
	</td>
	<td>
		{{if $field.5}}
		<span class="text-nowrap text-danger">
			{{$inherited}}
			{{if $field.7}}
			<i class="bi bi-check-square"></i>
			{{else}}
			<i class="bi bi-square"></i>
			{{/if}}
		</span>
		{{/if}}
	</td>
	<td>
		{{if $is_system_role}}
		{{if $field.3}}
		<i class="bi bi-check-square"></i>
		{{else}}
		<i class="bi bi-square"></i>
		{{/if}}
		{{else}}
		<input type="checkbox" name="{{$field.0}}" value="{{$field.4}}" {{if $field.3}}checked="checked"{{/if}} />
		{{/if}}

	</td>

</tr>