2
0
Fork 0
tcrud/lib/www_views/node-ff-tcrud/angular/thtml/crud/edit.ejs

13 lines
478 B
Plaintext
Raw Permalink Normal View History

2017-06-10 14:53:29 +00:00
<h2> Edit <%= tview.tname %></h2>
<div class="col-lg-8">
<form role="form">
<% tview.tedit.tfields.forEach(function (fieldKey) { %>
<div class="form-group">
<label for="<%= tview.tmeta.tfields[fieldKey].tid %>"><%= tview.tmeta.tfields[fieldKey].tname %></label>
<input ng-model="data.<%= tview.tmeta.tfields[fieldKey].tid %>" name="<%= tview.tmeta.tfields[fieldKey].tid %>" class="topcoat-text-input"></input>
</div>
<% }) %>
</form>
<div class="col-lg-4"></div>