[ === main === ]

	<h3>[ ' title ' ]</h3>
	
	<div class="">
	<form action="[ ' href: permissions ' ]" method="post" name="set_permissions">
		[ ' csrf: set_permissions ' ]
		<br>
		<table class="permissions form-tbl">
			<colgroup>
				<col span="1">
				<col span="1">
			</colgroup>
			<tbody>
				<tr>
					<th scope="row">
						<label for="read_acl">[ ' _t: AclRead ' ]</label>
					</th>
					<td>
						<textarea id="read_acl" name="read_acl" class="cols-20" rows="4" cols="20">[ ' read | pre ' ]</textarea>
					</td>
				</tr>
				<tr>
					<th scope="row">
						<label for="write_acl">[ ' _t: AclWrite ' ]</label>
					</th>
					<td>
						<textarea id="write_acl" name="write_acl" class="cols-20" rows="4" cols="20">[ ' write | pre ' ]</textarea>
					</td>
				</tr>
				<tr>
					<th scope="row">
						<label for="comment_acl">[ ' _t: AclComment ' ]</label>
					</th>
					<td>
						<textarea id="comment_acl" name="comment_acl" class="cols-20" rows="4" cols="20">[ ' comment | pre ' ]</textarea>
					</td>
				</tr>
				<tr>
					<th scope="row">
						<label for="create_acl">[ ' _t: AclCreate ' ]</label>
					</th>
					<td>
						<textarea id="create_acl" name="create_acl" class="cols-20" rows="4" cols="20">[ ' create | pre ' ]</textarea>
					</td>
				</tr>
				[= u _ =
					<tr>
						<th scope="row">
							<label for="upload_acl">[ ' _t: AclUpload ' ]</label>
						</th>
						<td>
							<textarea id="upload_acl" name="upload_acl" class="cols-20" rows="4" cols="20">[ ' upload | pre ' ]</textarea>
						</td>
					</tr>
				=]
				<tr>
					<th scope="row">
					</th>
					<td>
						<input type="checkbox" id="massacls" name="massacls">
						<label for="massacls" title="[ ' _t: AclAreYouSure ' ]">[ ' _t: AclForEntireCluster ' ]</label>
					</td>
				</tr>
				<tr>
					<th scope="row">
					</th>
					<td>
						<details>
							<summary>[ ' _t: Help ' ]</summary>
							<div class="msg hint">[ ' _t: AclHelp ' ]</div>
						</details>
					</td>
				</tr>
				<tr>
					<th scope="row">
						<label for="new_owner_id">[ ' _t: SetOwner ' ]</label>
					</th>
					<td>
						<select id="new_owner_id" name="new_owner_id">
							<option value="">[ ' owner | e ' ] ([ ' _t: OwnerDontChange ' ])</option>
							[= l _ =
								<option value="[ ' user.user_id | e attr ' ]">[ ' user.user_name | e ' ]</option>
							=]
						</select>
					</td>
				</tr>
				<tr>
					<th scope="row">
					</th>
					<td>
						<br>
						<button type="submit" class="btn btn-primary" id="submit" accesskey="s">[ ' _t: SaveButton ' ]</button> &nbsp;
						<a href="[ ' href: ' ]" class="btn-link"><button type="button" class="btn btn-cancel">[ ' _t: CancelButton ' ]</button></a>
					</td>
				</tr>
			</tbody>
		</table>
		</div>
	</form>
