    <p></p>

    <!-- Analysis service to apply the results -->
    <label for='analysis_service'>Analysis Service</label>
    <select name="analysis_service" id="analysis_service" tal:define="analysislist view/getAnalysisServicesDisplayList">
        <tal:options repeat="option analysislist">
        <option tal:attributes="value python:option;"
                tal:content="python:analysislist.getValue(option)"/>
        </tal:options>
    </select>
    <p>
    If no Analysis Service is selected, each data column will be interpreted as a different Analysis Service.
    In the case that an Analysis Service was selected, all the data columns would be interpreted as different
    data from an unique Analysis Service.
    </p>
    <!-- If analysis service is selected we have to specify the Default Result Key -->
    <div name="default_result">
        <label for='default_result'>Default Result Key</label>
        <input type="text" name="default_result" id="default_result">
        Please, introduce the result key column to use as a default result.
    </div>
    <p></p>
    <!-- File importer -->
    <label for=''>File</label>&nbsp;
    <input type="file" name="sysmex_xs_1000i_file" id="sysmex_xs_1000i_file"/>
    &nbsp;&nbsp;
    <!-- File format selector -->
    <label for='sysmex_xs_1000i_format'>Format</label>&nbsp;
    <select name="sysmex_xs_1000i_format" id="sysmex_xs_1000i_format">
        <option value='csv'>CSV</option>
    </select>
    <p></p>

    <h3>Advanced options</h3>
    <table cellpadding="0" cellspacing="0">
        <tr>
            <td><label for="sysmex_xs_1000i_artoapply">Samples state</label>&nbsp;</td>
            <td>
                <select name="sysmex_xs_1000i_artoapply" id="sysmex_xs_1000i_artoapply">
                    <option value="received">Received</option>
                    <option value="received_tobeverified">Received and to be verified</option>
                </select>
            </td>
        </tr>
        <tr>
            <td><label for="sysmex_xs_1000i_file_override">Results override</label></td>
            <td>
                <select name="sysmex_xs_1000i_override" id="sysmex_xs_1000i_file_override">
                    <option value="nooverride">Don't override results</option>
                    <option value="override">Override non-empty results</option>
                    <option value="overrideempty">Override non-empty results (also with empty)</option>
                </select>
            </td>
        </tr>
    </table>
    <p></p>
    <input name="firstsubmit" type="submit" value="Submit" i18n:attributes="value"/>
    <p></p>
