<xf:title>{{ phrase('test_provider:') }} {$provider.title}</xf:title>

<div class="block">
	<div class="block-container">
		<div class="block-body">

			{$handler.renderTest($provider, $providerData)|raw}

			<xf:if is="!$providerData">
				<xf:formrow>
					<xf:button href="{{ link('connected-accounts/perform-test', $provider, {'test': 1}) }}">
						{{ phrase('test') }}
					</xf:button>
				</xf:formrow>
				<xf:inforow>
					{{ phrase('note_to_test_provider_must_support_redirecting_to_following_url:') }}
					<div><code>{$redirectUri}</code></div>
				</xf:inforow>
			</xf:if>
		</div>
	</div>
</div>