<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.prefix_group_id ? $prefixGroup.MasterTitle.phrase_text : '' }}"
				label="{{ phrase('title') }}" />

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