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

<xf:form action="{{ link($linkPrefix . '/quick-set') }}" ajax="true" class="block">
	<div class="block-container">
		<div class="block-body">
			<xf:checkboxrow name="prompt_ids" listclass="_listInline"
				label="{{ phrase('apply_options_to_these_prompts') }}">

				<xf:foreach loop="$prompts" key="$promptId" value="$_prompt">
					<xf:option value="{$promptId}" checked="checked">
						<xf:label>{$_prompt.title}</xf:label>
					</xf:option>
				</xf:foreach>
			</xf:checkboxrow>

			<hr class="formRowSep" />

			<xf:checkboxrow name="apply_prompt_group_id"
				label="{{ phrase('prompt_group') }}">

				<xf:option label="{{ phrase('apply_prompt_group_options:') }}">
					<xf:dependent>
						<xf:macro template="base_prompt_edit_macros" name="prompt_groups"
							arg-prompt="{$prompt}"
							arg-promptGroups="{$promptGroups}"
							arg-withRow="0" />
					</xf:dependent>
				</xf:option>
			</xf:checkboxrow>

			<hr class="formRowSep" />

			{$extraOptions|raw}
		</div>
		<xf:submitrow sticky="true" icon="save" />
	</div>
</xf:form>