<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:strip-space elements="*"/>
	<xsl:output method="html" indent="yes" encoding="utf-8"/>

	<xsl:template match="DELEGATED-FORM">
		<xsl:apply-templates select="DELEGATED-CONTENT">
			<xsl:with-param name="additionalContent" select="DELEGATED" />
			<xsl:with-param name="status" select="/SITEBUILDER-PAGE/STATUS" />
		</xsl:apply-templates>
	</xsl:template>

	<xsl:template match="DELEGATED">
		<input type="hidden" name="relay_state" value="{CONTROL[@ID='relay_state']}" />
		<input type="hidden" name="request_id" value="{CONTROL[@ID='request_id']}" />
		<input type="hidden" name="confirmed" value="confirmed" id="confirmed" />
	</xsl:template>
</xsl:stylesheet>
