<!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 tal:omit-tag="" metal:fill-slot="main_content_slot">
  &gt; <a tal:attributes="href python:here.fle_root().courses.absolute_url()+'/'+jnr+'/testihaldus'" i18n:translate="">L_it_quiz_management</a> &gt;
    <span tal:content="here/annaPealkiri" tal:omit-tag="">Testi pealkiri</span>
    
  <h2 i18n:translate="">Editing quiz</h2>
  <form action="lisaUusYlesanne">
     <span i18n:translate="">add exercise</span>
     <select name="tyyp">
        <option tal:repeat="x python:here.vahendus.ylesanneteTolkegaTyybid(request).keys()" 
            tal:attributes="value x; selected python:test(x==here.kysiLisatudYlesandeTyyp(), 'selected', nothing)" tal:content="python:here.vahendus.ylesanneteTolkegaTyybid(request)[x]"></option>
     </select>
     <input type="submit" value="Add" />
  </form>
  <form action="kustuta_leht">
     <table width="100%" border="0">
        <tr>
          <th i18n:translate="">deletion</th>
          <th i18n:translate="">question</th>
          <th i18n:translate="">answer</th>
          <th i18n:translate="">type</th>
          <th i18n:translate="">points</th>
          <th i18n:translate="">change</th>
          <th i18n:translate="">meta</th>
        </tr>
        <tr tal:repeat="yl here/ylesanded"> 
           <td><input type="checkbox" name="kustuta" tal:attributes="value yl/id"></td>
           <td tal:content="structure python:yl.esitlusHTML(request)"></td>
           <td tal:content="structure python:yl.vaatamineHTML(request)"></td>
           <td tal:content="python:yl.ylesandeNimetus(request)"></td>
           <td tal:content="python:yl.normPunktidHTML(request)"></td>
           <td><a tal:attributes="href python:yl.id+'/ylAlus_muutmisVorm?liikumisURL='+here.absolute_url()">change</a></td>
           <td><a tal:attributes="href python:yl.id+'/meta/ylMeta_vorm1'">meta</a></td>
        </tr>
     </table>
     <input type="submit" value="deletion" />
<br />
    <a href="lisaYlesandedHoidlasse" i18n:translate="">L_it_save_changed_exercises</a><br />
    <a tal:attributes="href python:here.fle_root().absolute_url()+'/qtCatalog/ylOtsinguVorm'" i18n:translate="">L_it_search_from_exercise_pool</a>
    
  </form>
</span>
 
</html>
