WEB/Praktikum3/bt/templates/fehlerdetail.tpl
2017-01-19 11:27:12 +01:00

41 lines
1.9 KiB
Smarty

<!-- Template -->
<form id="idForm" class="clContent">
<h2 id="idContentHeader" class="clContentHeader">
Bearbeitung Fehlerdaten
</h2>
<div id="idContentArea" class="clContentArea">
<input type="hidden" value="#context.data.id#" id="id_s" name="id_s" />
<input type="hidden" value="" id="katfehlerid_s" name="katfehlerid_s" />
<input type="hidden" value="" id="katursacheid_s" name="katursacheid_s" />
<input type="hidden" value="" id="qsmitarbeiterid_s" name="qsmitarbeiterid_s" />
<input type="hidden" value="" id="swentwicklerid_s" name="swentwicklerid_s" />
<input type="hidden" value="protokolliert" id="status_s" name="status_s" />
<input type="hidden" value="" id="zeiterfasst_s" name="zeiterfasst_s" />
<input type="hidden" value="" id="zeitbehoben_s" name="zeitbehoben_s" />
<input type="hidden" value="" id="beschreibungursache_s" name="beschreibungursache_s" />
<div class="clFormRow">
<label for="name_s">Name <span class="clRequired"></span></label>
<input type="text" value="#context.data.name#" id="name_s" name="name_s" autofocus required />
</div>
<div class="clFormRow">
<label for="beschreibung_s">Beschreibung <span class="clRequired"></span></label>
<input type="text" value="#context.data.beschreibung#" id="beschreibung_s" name="beschreibung_s" autofocus required />
</div>
<label for="komponenteid_s">Komponente <span class="clRequired"></span></label>
<select name="komponenteid_s">
@var rows_o = context['komponente'];@
@for var key_s in rows_o@
@var row_o = rows_o[key_s];@
<option value="#key_s#">#row_o['name']#</option>
@endfor@
</select>
</div>
<div id="idButtonArea" class="clButtonArea">
<button data-action="back" class="clButton">Zurück</button>
<button data-action="save" class="clButton">Fehler erfassen</button>
</div>
</form>
<!-- EOF -->