WEB/Praktikum3/bt/templates/fehlerswdetail.tpl

54 lines
2.3 KiB
Smarty
Raw Normal View History

2017-01-17 19:57:12 +01:00
<!-- Template -->
<form id="idForm" class="clContent">
<h2 id="idContentHeader" class="clContentHeader">
2017-01-18 18:14:35 +01:00
Bearbeitung Fehlerdaten
2017-01-17 19:57:12 +01:00
</h2>
<div id="idContentArea" class="clContentArea">
<input type="hidden" value="#context.data.id#" id="id_s" name="id_s" />
2017-01-18 18:14:35 +01:00
<input type="hidden" value="behoben" id="status_s" name="status_s" />
2017-01-17 19:57:12 +01:00
<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>
2017-01-18 18:14:35 +01:00
<div class="clFormRow">
<label for="komponenteid_s">Komponente-ID <span class="clRequired"></span></label>
<input type="text" value="#context.data.komponenteid#" id="komponenteid_s" name="komponenteid_s" autofocus required />
</div>
<div class="clFormRow">
<label for="katfehlerid_s">Fehlerkategorie-ID <span class="clRequired"></span></label>
<input type="text" value="#context.data.katfehlerid#" id="katfehlerid_s" name="katfehlerid_s" autofocus required />
</div>
<div class="clFormRow">
<label for="qsmitarbeiterid_s">QS-Mitarbeiter-ID <span class="clRequired"></span></label>
<input type="text" value="#context.data.qsmitarbeiterid#" id="qsmitarbeiterid_s" name="qsmitarbeiterid_s" autofocus required />
</div>
<div class="clFormRow">
<label for="swentwicklerid_s">SW-Entwickler-ID <span class="clRequired"></span></label>
<input type="text" value="#context.data.swentwicklerid#" id="swentwicklerid_s" name="swentwicklerid_s" autofocus required />
</div>
<label for="katursacheid_s">Fehlerursache <span class="clRequired"></span></label>
<select name="katursacheid_s">
@var rows_o = context['katursache'];@
@for var key_s in rows_o@
@var row_o = rows_o[key_s];@
@if key_s == context.data.katursacheid@
<option value="#key_s#" selected>#row_o['name']#</option>
@else@
<option value="#key_s#">#row_o['name']#</option>
@endif;@
@endfor@
</select>
2017-01-17 19:57:12 +01:00
</div>
<div id="idButtonArea" class="clButtonArea">
<button data-action="back" class="clButton">Zurück</button>
2017-01-18 18:14:35 +01:00
<button data-action="save" class="clButton">Abschluss melden</button>
2017-01-17 19:57:12 +01:00
</div>
</form>
<!-- EOF -->