<!DOCTYPE html>
<html>
   <head>
      <title>
         Praxisphasenmanager (PPM)
      </title>
      <meta charset="UTF-8" />
      <style type="text/css">
         @import url("/style.css");
      </style>
   </head>
   <body>
      <h1 id="idSiteHeader" class="clSiteHeader">
         <a href="/index" title="Zur&uumlck zur Startseite">Praxisphasenmanager (PPM)</a>
      </h1>

      <form id="idForm" class="clContent" action="/saveChoice" method="POST">
         <h2 id="idContentHeader" class="clContentHeader">
            Praxisphasenangebots Auswahl
         </h2>
         <div id="idContentArea" class="clContentArea">
            <input type="hidden" value="${data['id']}" id="id" name="id" />
            <input type="hidden" value="${data['Name']}" id="Name" name="Name" />
            <input type="hidden" value="${data['Firma']}" id="Firma" name="Firma" />
            <input type="hidden" value="${data['Beschreibung']}" id="Beschreibung" name="Beschreibung" />
            <input type="hidden" value="${data['Voraussetzungen']}" id="Voraussetzungen" name="Voraussetzungen" />
            <input type="hidden" value="${data['Firmenbetreuer']}" id="Firmenbetreuer" name="Firmenbetreuer" />
            <input type="hidden" value="aktuell" id="Status" name="Status" />

            <div class="clFormRow">
               <label for="Student">Student</label>
               <select name="Student" form="idForm">
                  % for option in data['Studenten']:
                     <option value="${data['Studenten'][option]['id']}">${data['Studenten'][option]['Name']}</option>
                  % endfor
               </select>
            </div>

            <div class="clFormRow">
               <label for="Lehrender">Lehrender</label>
               <select name="Lehrender" form="idForm">
                  % for option in data['Lehrender']:
                     <option value="${data['Lehrender'][option]['id']}">${data['Lehrender'][option]['Name']}</option>
                  % endfor
               </select>
            </div>

            <div class="clFormRow">
            <label for="ZeitraumVon">Zeitraum: Von (D.M.Y)</label>
            <input type="text" value="" id="ZeitraumVon" name="ZeitraumVon" />
            </div>

            <div class="clFormRow">
            <label for="ZeitraumBis">Zeitraum: Bis (D.M.Y)</label>
            <input type="text" value="" id="ZeitraumBis" name="ZeitraumBis" />
            </div>

            <div id="idButtonArea" class="clButtonArea">
               <a href="/index" title="Zur&uumlck zur Startseite">Zur&uumlck zur Startseite</a>
               <a href="/choice" title="Zur&uumlck zur &uumlbersicht">Zur&uumlck zur &uumlbersicht</a>
               <input type="submit" value="Speichern" />
            </div>
         </div>
      </form>
   </body>
</html>