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

<xf:form action="{{ link('activity-summary/add') }}" class="block" ajax="true">
	<div class="block-container">
		<div class="block-body">
			<xf:radiorow name="definition_id" label="{{ phrase('activity_summary_definition') }}">
				<xf:foreach loop="$definitions" value="$definition">
					<xf:option value="{$definition.definition_id}">
						<xf:label>{$definition.title}</xf:label>
						<xf:hint>{$definition.description}</xf:hint>
					</xf:option>
				</xf:foreach>
			</xf:radiorow>
		</div>
		<xf:submitrow submit="{{ phrase('add_section') }}" icon="add" />
	</div>
</xf:form>