<!-- BEGIN [% component.name %] -->
  [% PROCESS resources/menu/request_forms.local; # PROCESS dumper.tt dump = request_forms %]
  
  <table class="tree">
    <tr>
      <td>
		[% div_name = 'forms'; INCLUDE site/snippets/toggleview.tt type = 'folder' %]
     </td>
      <td>
        <span class="title">Request forms</span>
      </td>
    </tr>
  </table>

  <div class='itemhidden' id='[% div_name %]'>    
    <table style="margin-left: 30px">
        [% FOREACH item IN request_forms %]
      <tr>
        <td><img alt="" src="/images/text.gif" class="text" /></td>
        <td>
			<a class="nav" href="[% item.value %]" target="_blank">
			  [% item.key %]
			</a>
		</td>
      </tr>
        [% END %]

	  [% # IF c.is_lab_staff # reporters get SOPDev, all else get SOP %]
	  <tr>
		<td><img alt="" src="/images/text.gif" class="text" /></td>
        <td>
			[% sop_url = c.cfg('settings').service_url; IF c.user_can('report') %]
			<a class="nav" href="[% sop_url %]/foswiki/ReportingSOPDev" target="_blank">
			  Reporting SOP <span class="highlight">Dev</span>
			</a>
			[% ELSE %]
			<a class="nav" href="[% sop_url %]/foswiki/ReportingSOP" target="_blank">
			  Reporting SOP
			</a>
			[% END %]
		</td>
      </tr>
	  [% # END %]
    </table>
  </div>
<!-- END [% component.name %] -->
