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

<xf:pageaction if="$provider.isUsable()">
	<xf:button href="{{ link('connected-accounts/deactivate', $provider) }}" icon="delete" overlay="true">
		{{ phrase('deactivate') }}
	</xf:button>
</xf:pageaction>

<xf:form action="{{ link('connected-accounts/save', $provider) }}" ajax="true" class="block">
	<div class="block-container">
		<div class="block-body">
			{{ $provider.renderConfig($provider)|raw }}
		</div>
		<xf:submitrow sticky="true" icon="save" />
	</div>
</xf:form>