58 lines
2.5 KiB
Smarty
58 lines
2.5 KiB
Smarty
<h2 id="idContentHeader" class="clContentHeader">
|
|
#context['category']#: Ihre Daten
|
|
</h2>
|
|
<form id="idForm" class="clContent" method="POST">
|
|
<div id="idContentArea" class="clContentArea">
|
|
<input type="hidden" value="#context['id']#" id="id" name="id" />
|
|
|
|
@if context['category'] != 'Angebote'@
|
|
@for field in context['content']@
|
|
@if field!='id' && field!='Status'@
|
|
<div class="clFormRow">
|
|
<label for="#field#">#field#</label>
|
|
<input type="text" value=
|
|
@if context['content'][field] != field@
|
|
"#context['content'][field]#" id="#field#" name="#field#" />
|
|
@else@
|
|
"" id="#field#" name="#field#" />
|
|
@endif@
|
|
</div>
|
|
@endif@
|
|
@endfor@
|
|
@else@
|
|
<input type="hidden" value="Angebot" id="Status" name="Status" />
|
|
<input type="hidden" value="" id="Zeitraum" name="ZeitraumVon" />
|
|
<input type="hidden" value="" id="Zeitraum" name="ZeitraumBis" />
|
|
<input type="hidden" value="" id="Student" name="Student" />
|
|
<input type="hidden" value="" id="Lehrender" name="Lehrender" />
|
|
@for field in context['content']@
|
|
@if field!='id' && field!='Status' && field!='ZeitraumVon' && field!='ZeitraumBis' && field!='Lehrender' && field!='Student'@
|
|
<div class="clFormRow">
|
|
<label for="#field#">#field#</label>
|
|
@if field!='Firma'@
|
|
<input type="text" value=
|
|
@if context['content'][field] != field@
|
|
"#context['content'][field]#" id="#field#" name="#field#" />
|
|
@else@
|
|
"" id="#field#" name="#field#" />
|
|
@endif@
|
|
@else@
|
|
<select name="Firma" form="idForm">
|
|
@for option in context['Firmen']@
|
|
<option value="#context['Firmen'][option]['Name']#">#context['Firmen'][option]['Name']#</option>
|
|
@endfor@
|
|
</select>
|
|
@endif@
|
|
</div>
|
|
@endif@
|
|
@endfor@
|
|
@endif@
|
|
</div>
|
|
|
|
<div id="idButtonArea" class="clButtonArea">
|
|
<a data-action="index" title="Zurück zur Startseite">Zurück zur Startseite</a>
|
|
<a data-action="category#context['category']#" title="Zurueck zur übersicht">Zurück zur übersicht</a>
|
|
<a data-action="SaveCategory#context['category']#" title="Speichern">Speichern</a>
|
|
</div>
|
|
|
|
</form> |