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

<xf:form action="{{ link('widgets/add') }}" class="block" ajax="true">
	<div class="block-container">
		<div class="block-body">
			<xf:selectrow name="definition_id"
				label="{{ phrase('widget_definition') }}">

				<xf:option />
				<xf:options source="{$widgetDefinitions}" />
			</xf:selectrow>
		</div>
		<xf:submitrow submit="{{ phrase('add_widget') }}" icon="add" />
	</div>
</xf:form>