<form id="core_permissions" >
	<div class="row">
		<div class="form-group col-md-2">
			<label for="module">{core_permissions_form_code}</label>
			<input type="text" class="form-control" name="code" id="code" placeholder="Code">
			<div class="help-block with-errors"></div>
		</div>
		<div class="form-group col-md-4">
			<label for="permission_name">{core_permissions_form_permission_name}</label>
			<input type="text" class="form-control" id="permission_name" name="permission_name" placeholder="Permission name">
			<div class="help-block with-errors"></div>
		</div>
		<div class="form-group col-md-2">
			<label for="module">{core_permissions_form_module}</label>
			<input type="text" class="form-control" name="module" id="module" placeholder="Module">
			<div class="help-block with-errors"></div>
		</div>
		<div class="form-group col-md-4">
			<label for="permission_namespace">{core_permissions_form_permission_namespace}</label>
			<input type="text" class="form-control" name="permission_namespace" id="permission_namespace" placeholder="Permission namespace">
			<div class="help-block with-errors"></div>
		</div>
	</div>
	<div class="row">
		<div class="form-group col-md-4">
			<label for="permission_function">{core_permissions_form_permission_function}</label>
			<input type="text" class="form-control" id="permission_function" name="permission_function" placeholder="permission_function">
			<div class="help-block with-errors"></div>
		</div>
		<div class="form-group col-md-4">
			<label for="default_child">{core_permissions_form_default_child}</label>
			<input type="text" class="form-control" id="default_child" name="default_child" placeholder="default_child">
			<div class="help-block with-errors"></div>
		</div>
		<div class="form-group col-md-2">
			<label for="permission_type">{core_permissions_form_permission_type}</label>
			<select class="form-control" id="permission_type" name="permission_type" placeholder="permission_type" data-list="api/v1/misc/codelists/permission_types">
			</select>
			<div class="help-block with-errors"></div>
		</div>
		<div class="form-group col-md-2">
			<label for="parent">{core_permissions_form_parent}</label>
			<input type="text" class="form-control" id="parent" name="parent" placeholder="parent"  data-error="{core_permissions_parent_validator}" required>
			<div class="help-block with-errors"></div>
		</div>
	</div>
	<div class="row">
		<div class="form-group col-md-8">
			<label for="permission_name">{core_permissions_form_permission_description}</label>
			<input type="text" class="form-control" id="permission_description" name="permission_description" placeholder="permission_description">
			<div class="help-block with-errors"></div>
		</div>
		<div class="form-group col-md-2">
			<label for="icon">{core_permissions_form_icon}</label>
			<input type="text" class="form-control" name="icon" id="icon" placeholder="icon">
			<div class="help-block with-errors"></div>
		</div>
		<div class="form-group col-md-1">
			<label for="ord">{core_permissions_form_ord}</label>
			<input type="text" class="form-control" name="ord" id="ord" placeholder="ord" value="1">
			<div class="help-block with-errors"></div>
		</div>
		<div class="form-group col-md-1">
			<label for="guest">{core_permissions_form_guest}</label>
			<input type="guest" class="form-control" name="guest" id="guest" placeholder="guest" value="false">
			<div class="help-block with-errors"></div>
		</div>
	</div>
</form>