49 lines
1.8 KiB
Smarty
Raw Normal View History

2016-11-06 23:38:59 +01:00
<!DOCTYPE html>
<html>
<head>
<title>
2016-11-16 16:52:00 +01:00
Praxisphasenmanager (PPM)
2016-11-06 23:38:59 +01:00
</title>
<meta charset="UTF-8" />
<style type="text/css">
2016-11-07 18:07:44 +01:00
@import url("/style.css");
2016-11-06 23:38:59 +01:00
</style>
</head>
<body>
<h1 id="idSiteHeader" class="clSiteHeader">
2016-11-16 16:52:00 +01:00
<a href="/index" title="Zur&uumlck zur Startseite">Praxisphasenmanager (PPM)</a>
2016-11-06 23:38:59 +01:00
</h1>
2016-11-16 16:52:00 +01:00
2016-11-06 23:38:59 +01:00
<form id="idForm" class="clContent" action="/save/?cat=${data['category']}" method="POST">
<h2 id="idContentHeader" class="clContentHeader">
2016-11-16 16:52:00 +01:00
% if data['category'] == 'students':
Studenten: Ihre Daten
% elif data['category'] == 'teachers':
Lehrende: Ihre Daten
% elif data['category'] == 'companies':
Firmen: Ihre Daten
% elif data['category'] == 'offerings':
Angebote: Ihre Daten
% endif
2016-11-06 23:38:59 +01:00
</h2>
<div id="idContentArea" class="clContentArea">
<input type="hidden" value="${data['id']}" id="id" name="id" />
% for field in data['content']:
2016-11-07 17:59:41 +01:00
% if field!='id':
<div class="clFormRow">
<label for="${field}">${field}</label>
<input type="text" value="${data['content'][field]}" id="${field}" name="${field}" />
</div>
% endif
2016-11-06 23:38:59 +01:00
% endfor
<div id="idButtonArea" class="clButtonArea">
2016-11-16 16:52:00 +01:00
<a href="/index" title="Zur&uumlck zur Startseite">Zur&uumlck zur Startseite</a>
<a href="/category/?cat=${data['category']}" title="Zurueck zur Startseite">Zur&uumlck zur &uumlbersicht</a>
2016-11-06 23:38:59 +01:00
<input type="submit" value="Speichern" />
</div>
</div>
</form>
</body>
</html>