<xf:if is="$promptGroup.isInsert()">
	<xf:title>{{ phrase('add_prompt_group') }}</xf:title>
	<xf:else />
	<xf:title>{{ phrase('edit_prompt_group:') }} {$promptGroup.title}</xf:title>
</xf:if>

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

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

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