<div class="row"
     tal:define="%(id)s_error_file errors/%(id)s_file|nothing;"> 

    <div class="label">
        <span i18n:translate="%(id)s_upload_contents">
        %(label)s upload contents (optional) 
        </span>

        <div id="%(id)s_upload_help" 
             i18n:translate="%(id)s_upload_help"
             class="help" 
             style="visibility:hidden">
            If you already have the document in a file on your computer,
            you may add it using this control. 
            <br />&nbsp;<br /> 
            <strong> Please note that this takes precedence over the 
            %(label)s text entered above, and all content in the
            field above will be replaced with the contents of the file
            supplied here. </strong>
        </div>
    </div>
    
    <div class="field"
         tal:attributes="class python:test(%(id)s_error_file, 'field error', 'field')">
        <div tal:replace="%(id)s_error_file" />
            <input type="file" 
                name="%(id)s_file" 
                size="30" 
                tabindex="" 
                tal:attributes="tabindex tabindex/next;" 
                onfocus="formtooltip('%(id)s_upload_help',1)" 
                onblur="formtooltip('%(id)s_upload_help',0)"
                />
        </div>
    </div>
