<!-- BEGIN [% component.name %] --> 
  <h3 class="header">Other worklists:</h3>
  
  [% # INCLUDE dumper.tt dump = local_worklists %]

	<div class="indent">  
      <form action="[% app_url %]/local_worklist" method="get" name="others"
            id="others" onchange="submit()">
      <table>
		<tr>
          <td class="label">Function:</td>
		  <td class="content">			
            <select name="function_name" onchange="submit()">
				<option value="">&nbsp;</option>
				[% FOREACH section IN local_worklists;
					label = section.key %]
				  <optgroup label="[% label.upper %]">
					[% FOREACH entry IN local_worklists.item(label) %]
					  <option value="[% entry.value %]">[% entry.key | html %]</option>
                    [% END %]
                  </optgroup>
                [% END %]					
            </select>
		  </td>
		</tr>
	  </table>
      </form>
    </div>
<!-- END [% component.name %] -->
