<xf:title>{{ phrase('merge_tags') }}</xf:title>

<xf:form action="{{ link('tags/merge', $tag) }}" ajax="true" class="block">
	<div class="block-container">
		<div class="block-body">
			<xf:formrow explain="{{ phrase('this_tag_will_be_deleted') }}"
				label="{{ phrase('source_tag') }}">
				{$tag.tag}
			</xf:formrow>

			<xf:textboxrow name="target"
				ac="single"
				data-acurl="{{ link_type('public', 'misc/tag-auto-complete') }}"
				label="{{ phrase('target_tag') }}"
				explain="{{ phrase('all_content_tagged_with_x_will_now_be_tagged_with_this_tag', {'tag': $tag.tag}) }}" />
		</div>
		<xf:submitrow submit="{{ phrase('merge') }}" />
	</div>
</xf:form>