<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:tal="http://xml.zope.org/namespaces/tal"
	xmlns:metal="http://xml.zope.org/namespaces/metal"
	xmlns:i18n="http://xml.zope.org/namespaces/i18n"
	metal:use-macro="here/main_template/macros/master"
	i18n:domain="senaite.core">
<body>

<metal:content-title fill-slot="content-title">
	<h1>
        <img tal:condition="view/icon | nothing"
            src="" tal:attributes="src view/icon"/>
        <span class="documentFirstHeading" tal:content="view/title"/>
    </h1>
</metal:content-title>

<metal:content-description fill-slot="content-description">
	<div class="documentDescription"
		tal:content="view/description"
		tal:condition="view/description"/>
</metal:content-description>

<metal:content-core fill-slot="content-core">

	<fieldset tal:define="portal context/@@plone_portal_state/portal;">

		<table class="worksheet_add_control">
			<tr>
				<td colspan="2" style="vertical-align:center;text-align:left;padding-bottom:1em;">
					<span
						i18n:translate=""
						style="line-height:20px;"
						tal:content="string:Insert into worksheet at position: "/>
					<tal:comment replace="nothing">
					The position dropdown's value is not part of the bika_listing form.
					The value is inserted into form values by worksheet.js
					</tal:comment>
					<select id="position">
						<tal:options
							repeat="position view/getAvailablePositions">
							<option tal:attributes="value position" tal:content="position"/>
						</tal:options>
						<option value="new" i18n:translate="">New</option>
					</select>
				</td>
			</tr>
			<tr>
				<td class="worksheet_add_control_services">
					<span
						id="worksheet_services"
						tal:content="structure view/Services/contents_table"/>
				</td>
				<td class="worksheet_add_references">
					<span id="worksheet_add_references"/>
				</td>
			</tr>
		</table>
	</fieldset>

</metal:content-core>

	</body>
</html>
