<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html metal:use-macro="container/page_macro/macros/master_page">

<span metal:fill-slot="breadcrumbs">
	&gt; <label tal:omit-tag="" i18n:translate="">Wordmaps</label>
</span>

<span tal:omit-tag="" metal:fill-slot="main_content_slot" 
	tal:define="wordmaps context/getWordMaps">

	<table tal:condition="python:context.check_permission(request,'Add FLE LO')" width="100%" border="0" cellpadding="2" cellspacing="0" bgcolor="#EEEEEE">
		<tr>
			<td width="30" align="center"><img src="images/add_wordmap" height="20" width="20" alt="Add new wordmap" i18n:attributes="alt" /></td>
                        <td>
                          <a href="wordmaps_managing_page" i18n:translate="">Add new wordmap</a>
                        </td>
			<td width="30" align="center"><img src="images/import" alt="Import wordmap" i18n:attributes="alt" />
			</td>
			<td align="left">
			  <a href="wordmaps_importing_page" i18n:translate="">Import</a>
			</td>
		</tr>
	</table>
		<form action="wordmaps_index_html_handler">
            <table>
               <tr tal:repeat="wmap wordmaps">
                   <td>
		   	<input type="radio" name="wm" 
				tal:attributes="value wmap/id" 
				tal:condition="isTeacher"/>
		   </td>
                   <td>
		   	<a tal:attributes="href wmap/absolute_url">
				<span tal:replace="python:test(wmap.getTitle(), wmap.getTitle(), wmap.id)" tal:omit-tag=""></span>
			</a>
		   </td>
               </tr>
            </table>
	    
	    <span tal:omit-tag="" tal:condition="python:isTeacher and wordmaps">
	            <input type="submit" name="delete" value="Delete" i18n:attributes="value" />
	            <input type="submit" name="settings" value="Settings" i18n:attributes="value" />
	            <input type="submit" name="assessment" value="Assessment" i18n:attributes="value" />
	    </span>
        </form>
	<br />
        <a href="wordmaps_hierarhy" i18n:translate="" tal:condition="context/getWordMaps">Wordmaps hierarhy</a>
</span>
</html>
