WEB/Praktikum3/bt/templates/komponentedetail.tpl

28 lines
1.0 KiB
Smarty
Raw Normal View History

2017-01-16 23:32:28 +01:00
<!-- Template -->
<form id="idForm" class="clContent">
<h2 id="idContentHeader" class="clContentHeader">
2017-01-17 16:57:36 +01:00
Pflege Komponenten
2017-01-16 23:32:28 +01:00
</h2>
<div id="idContentArea" class="clContentArea">
<input type="hidden" value="#context.data.id#" id="id_s" name="id_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>
2017-01-17 16:57:36 +01:00
<label for="projekt-id_s">Projekt <span class="clRequired"></span></label>
<select name="projekt-id_s">
@var rows_o = context['projekt'];@
@for var key_s in rows_o@
@var row_o = rows_o[key_s];@
<option value="#key_s#">#row_o['name']#</option>
@endfor@
</select>
2017-01-16 23:32:28 +01:00
<div id="idButtonArea" class="clButtonArea">
<button data-action="back" class="clButton">Zurück</button>
<button data-action="save" class="clButton">Speichern</button>
</div>
</form>
<!-- EOF -->