<!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;  <a tal:attributes="href python:kursus.absolute_url()+'/wordmaps/wordmaps_index_html'" i18n:translate="">wordmaps</a> 
   <span tal:repeat="wmap context/getWordmapTree" tal:omit-tag=""> &gt; 
     <a tal:attributes="href wmap/absolute_url" tal:content="wmap/id"></a></span>
</span>

<span tal:omit-tag="" metal:fill-slot="main_content_slot">
  <form action="wordmaps_weight_page_handler">
    <h3 i18n:translate="">Connections meaningfuls</h3>
    <table>
       <tr tal:repeat="eg python:here.objectValues('MapEdge')">
          <td tal:content="python: getattr(here, eg.startword).title+' - '+getattr(here, eg.endword).title"></td>
          <td><span tal:content="python: eg.text_in_line"></span><span tal:condition="eg/hasPicture">
              <img tal:attributes="src python:eg.absolute_url()+'/getPicture'" alt="" /> </span></td>
          <td>
             <select tal:attributes="name eg/id">
                <option tal:repeat="nr python:range(4)" tal:content="nr" tal:attributes="value nr;
                                selected python:test(eg.getWeight()==nr, 'selected', nothing)" ></option>
             </select>
          </td>
       </tr>
    </table><br />
    <span tal:condition="python:not here.objectValues('MapEdge')" i18n:translate="">No connections<br /></span>
    <input type="submit" value="OK" />
  </form>
</span>

</html>
