<form i18n:domain="iva" tal:attributes="action python:context.absolute_url()+'/wordmaps_edge_page_handler'" name="v">
     <h2>Edge</h2>
     <span tal:content="context/getStartWordTitle"></span>-<span tal:content="context/getEndWordTitle"></span>
     <table>
        <tr>
           <td i18n:translate="">Text in line:</td>
           <td><input type="text" name="textinline" tal:attributes="value context/getTextInLine" /></td>
        </tr>
        <tr>
           <td i18n:translate="">Description:</td>
           <td>
             <textarea tal:content="context/getDescription" name="description" rows="5" cols="60"></textarea>
           </td>
        </tr>
        <tr>
           <td i18n:translate="">Weight:</td>
           <td><input type="text" name="weight" tal:attributes="value context/getWeight" /></td>
        </tr>
        <tr>
           <td i18n:translate="">Starting arrow:</td>
           <td><input type="checkbox" name="startarrow" value="1" tal:attributes="checked python:test(context.getStartArrow(), 'checked', None)" /></td>
        </tr>
        <tr>
           <td i18n:translate="">Ending arrow:</td>
           <td><input type="checkbox" name="endarrow" value="1" tal:attributes="checked python:test(context.getEndArrow(), 'checked', None)" /></td>
        </tr>
        <tr>
           <td i18n:translate="">Connection type:</td>
           <td>
              <select name="type">
                <span  tal:repeat="tp python:context.getTypes()" tal:omit-tag="" >
                 <option tal:define="ti repeat/tp/index" tal:content="tp" tal:attributes="value repeat/tp/index; selected python:test(context.getType()==ti, 'selected', None)" i18n:translate=""></option>
                </span>
              </select>
           </td>
        </tr>
        <tr>
            <td i18n:translate="">Creator:</td>
            <td tal:content="here/creator"></td>
        </tr>
        <tr>
            <td i18n:translate="">Modifier:</td>
            <td tal:content="here/modifier"></td>
        </tr>
     </table>
     <input type="submit" value="Change" i18n:attributes="value" /><br />
     <span tal:content="structure here/wordmaps_equation_redactor" tal:omit-tag=""></span>
</form>
