<xf:if is="$smilieCategory.isInsert()">
	<xf:title>{{ phrase('add_smilie_category') }}</xf:title>
<xf:else />
	<xf:title>{{ phrase('edit_smilie_category:') }} {$smilieCategory.title}</xf:title>
</xf:if>

<xf:pageaction if="$smilieCategory.isUpdate()">
	<xf:button href="{{ link('smilie-categories/delete', $smilieCategory) }}" icon="delete" overlay="true" />
</xf:pageaction>

<xf:form action="{{ link('smilie-categories/save', $smilieCategory) }}" ajax="true" class="block">
	<div class="block-container">
		<div class="block-body">
			<xf:textboxrow name="title" value="{$smilieCategory}"
				label="{{ phrase('title') }}"/>

			<xf:macro id="display_order_macros::row" arg-value="{$smilieCategory}" />
		</div>

		<xf:submitrow icon="save" />
	</div>
</xf:form>