{! admin/util/fontawesome !}

<p class="admin-options">
	{% if $data->add && User::require_acl ('admin/edit', 'admin/add') %}<a href="{{add}}" title="{"Add"} {{label}}" class="editable-add"><i class="fa fa-lg fa-plus"></i></a>{% end %}{% if locked %}<a href="javascript:void(0)" title="{"Editing Locked"}" class="editable-lock"><i class="fa fa-lg fa-lock"></i></a>{% else %}{% if $data->edit && User::require_acl ('admin/edit') %}<a href="{{edit}}?id={{ id }}" title="{"Edit"} {{label}}" class="editable-edit"><i class="fa fa-lg fa-pencil"></i></a>{% end %}{% if $data->versions && User::require_acl ('admin/versions') %}<a href="/admin/versions?type={{class}}&id={{id}}" title="{"Versions"}" class="editable-versions"><i class="fa fa-lg fa-files-o"></i></a>{% end %}{% if $data->delete && User::require_acl ('admin/delete') %}<a href="{{delete}}" data-id="{{ id }}" title="{"Delete"} {{label}}" onclick="return $.confirm_and_post (this, '{{confirm_msg}}');" class="editable-delete"><i class="fa fa-lg fa-trash-o"></i></a>{% end %}{% end %}
</p>
