<xf:if is="$prefixGroup.isInsert()">
	<xf:title>{{ phrase('add_prefix_group') }}</xf:title>
<xf:else />
	<xf:title>{{ phrase('edit_prefix_group:') }} {$prefixGroup.title}</xf:title>
</xf:if>

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

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

			<xf:macro id="display_order_macros::row" arg-value="{$prefixGroup}" />
		</div>
		<xf:submitrow icon="save" />
	</div>
</xf:form>