<xf:title>{{ phrase('quick_set_prefixes') }}</xf:title>

<xf:form action="{{ link($linkPrefix . '/quick-set') }}" class="block">
	<div class="block-container">
		<div class="block-body">
			<xf:selectrow name="prefix_id"
				label="{{ phrase('copy_settings_from') }}"
				explain="{{ phrase('on_next_page_you_may_apply_settings_to_all_selected_prefixes') }}">

				<xf:option value="-1">{{ phrase('(none)') }}</xf:option>
				<xf:foreach loop="$prefixGroups" key="$groupId" value="$prefixGroup" if="{{ count($prefixesGrouped.{$groupId}) > 0 }}">
					<xf:optgroup label="{{ prefix_group($prefixType, $groupId) }}">
						<xf:foreach loop="{$prefixesGrouped.{$groupId}}" key="$prefixId" value="$cssClass">
							<xf:option value="{$prefixId}" label="{{ prefix_title($prefixType, $prefixId) }}" />
						</xf:foreach>
					</xf:optgroup>
				</xf:foreach>

			</xf:selectrow>
		</div>
		<xf:submitrow submit="{{ phrase('proceed...') }}" name="quickset" value="1" />
	</div>
	<xf:foreach loop="$prefixIds" value="$prefixId">
		<xf:hiddenval name="prefix_ids[]">{$prefixId}</xf:hiddenval>
	</xf:foreach>
</xf:form>