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

<xf:if is="{{ !$provider.canEdit() }}">
	<div class="blockMessage blockMessage--important blockMessage--iconic">
		{{ phrase('only_limited_fields_in_item_may_be_edited') }}
	</div>
</xf:if>

<xf:form action="{{ link('two-step/save', $provider) }}" ajax="true" class="block">
	<div class="block-container">
		<div class="block-body">
			<xf:formrow label="{{ phrase('provider_id') }}">
				{$provider.provider_id}
			</xf:formrow>

			<xf:formrow label="{{ phrase('provider_class') }}">
				{$provider.provider_class}
			</xf:formrow>

			<xf:formrow label="{{ phrase('title') }}">
				{$provider.title}
			</xf:formrow>

			<xf:formrow label="{{ phrase('description') }}">
				{$provider.description}
			</xf:formrow>

			<xf:macro template="display_order_macros" name="row"
				arg-name="priority" arg-value="{$provider.priority}" />

			<xf:if contentcheck="true">
				<hr class="formRowSep" />
				<xf:contentcheck>
					{$provider.renderOptions()|raw}
				</xf:contentcheck>
			</xf:if>
		</div>
		<xf:submitrow sticky="true" icon="save" />
	</div>
</xf:form>