<div>
	<p class="field"><?php echo __('Permissions :'); ?></p>
	<p class="field">
		<input name="<?php echo $i['id']; ?>[_checkboxes][]" type="hidden" value="item_commentable">
		<input name="<?php echo $i['id']; ?>[parent_commentable]" type="hidden" value="<?php echo $i['parent_commentable']; ?>">
		<input<?php if (!$i['parent_commentable']) : ?> disabled<?php endif; ?><?php if ($i['commentable']) : ?> checked<?php endif; ?> id="allow_comments_<?php echo $i['id']; ?>" name="<?php echo $i['id']; ?>[item_commentable]" type="checkbox">
		<label for="allow_comments_<?php echo $i['id']; ?>"><?php echo __('Autoriser les commentaires'); ?></label>
	</p>
	<p class="field">
		<input name="<?php echo $i['id']; ?>[_checkboxes][]" type="hidden" value="item_votable">
		<input name="<?php echo $i['id']; ?>[parent_votable]" type="hidden" value="<?php echo $i['parent_votable']; ?>">
		<input<?php if (!$i['parent_votable']) : ?> disabled<?php endif; ?><?php if ($i['votable']) : ?> checked<?php endif; ?> id="allow_votes_<?php echo $i['id']; ?>" name="<?php echo $i['id']; ?>[item_votable]" type="checkbox">
		<label for="allow_votes_<?php echo $i['id']; ?>"><?php echo __('Autoriser les votes'); ?></label>
	</p>
	<p class="field">
		<input name="<?php echo $i['id']; ?>[_checkboxes][]" type="hidden" value="item_downloadable">
		<input name="<?php echo $i['id']; ?>[parent_downloadable]" type="hidden" value="<?php echo $i['parent_downloadable']; ?>">
		<input<?php if (!$i['parent_downloadable']) : ?> disabled<?php endif; ?><?php if ($i['downloadable']) : ?> checked<?php endif; ?> id="allow_download_<?php echo $i['id']; ?>" name="<?php echo $i['id']; ?>[item_downloadable]" type="checkbox">
		<label for="allow_download_<?php echo $i['id']; ?>"><?php echo __('Autoriser le téléchargement'); ?></label>
	</p>
</div>