<xf:radiorow name="{$inputName}[type]"
	label="{$option.title}"
	hint="{$hintHtml}"
	explain="{$explainHtml}"
	html="{$listedHtml}"
	rowclass="{$rowClass}">

	<xf:option selected="$option.option_value.type == ''"
		label="{{ phrase('no_terms_and_rules') }}" />

	<xf:option value="default" selected="$option.option_value.type == 'default'"
		label="{{ phrase('default_url:') }} {{ link_type('public', 'canonical:help/terms') }}"/>

	<xf:option value="custom" selected="$option.option_value.type == 'custom'"
		label="{{ phrase('custom_url') }}">

		<xf:textbox name="{$inputName}[custom]" value="{$option.option_value.custom}" />
	</xf:option>
</xf:radiorow>