<hr class="formRowSep" />

<xf:checkboxrow>
	<xf:option name="options[contextual]" selected="{$options.contextual}"
		label="{{ phrase('display_contextual_content') }}"
		hint="{{ phrase('if_selected_widget_will_display_content_which_pertains_to') }}">

		<xf:dependent>
			<xf:checkbox>
				<xf:option name="options[contextual_hidden]" selected="{$options.contextual_hidden}"
					label="{{ phrase('hide_widget_when_there_is_no_available_context') }}"
					hint="{{ phrase('if_selected_widget_will_be_hidden_when_there_is_no_available_context') }}" />
			</xf:checkbox>
		</xf:dependent>
	</xf:option>
</xf:checkboxrow>

<xf:numberboxrow name="options[limit]" value="{$options.limit}"
	label="{{ phrase('maximum_entries') }}"
	min="1" />

<xf:radiorow name="options[style]" value="{$options.style}"
	label="{{ phrase('display_style') }}">

	<xf:option value="simple"
		label="{{ phrase('simple') }}"
		hint="{{ phrase('widget_display_simple_explain') }}" />
	<xf:option value="full"
		label="{{ phrase('standard') }}"
		hint="{{ phrase('full_size_view_displaying_as_standard_content_list') }}" />
	<xf:option value="carousel"
		label="{{ phrase('carousel') }}"
		hint="{{ phrase('carousel_view_displaying_content_in_slider') }}" />
</xf:radiorow>

<xf:numberboxrow name="options[snippet_length]" value="{$options.snippet_length}"
	label="{{ phrase('snippet_length') }}"
	explain="{{ phrase('snippet_length_explain') }}"
	min="0" max="500" />

<xf:selectrow name="options[content_type]" value="{$options.content_type}"
	label="{{ phrase('content_type') }}">

	<xf:option value="">{{ phrase('(any)') }}</xf:option>

	<xf:foreach loop="$contentTypes" value="$contentType">
		<xf:option value="{$contentType}">
			{{ $xf.app.getContentTypePhrase($contentType) }}
		</xf:option>
	</xf:foreach>
</xf:selectrow>