2
0
Fork 0
tcrud/lib/www_views/node-ff-tcrud/angular/thtml/crud/read.ejs
2017-06-10 16:53:29 +02:00

19 lines
660 B
Plaintext

<section>
<h2> <%= ejsKeyData %> </h2>
<% if (tview.tedit) { %>
<p>
<a href="<%= tview.tmeta.tplugin.angular.tbase %>/<%= tview.tslug %>/<%= tview.tedit.tplugin.angular.tslug %>/<%= ejsKeyData %>">Edit</a>
</p>
<% } %>
<% if (tview.tdelete) { %>
<p>
<a href="<%= tview.tmeta.tplugin.angular.tbase %>/<%= tview.tslug %>/<%= tview.tdelete.tplugin.angular.tslug %>/<%= ejsKeyData %>">Delete</a>
</p>
<% } %>
<% tview.tread.tfields.forEach(function (fieldKey) { %>
<p><%= tview.tmeta.tfields[fieldKey].tname %>: {{data.<%= tview.tmeta.tfields[fieldKey].tid %>}}</p>
<% }) %>
<p>
<button ng-click="treadNone()">Back</button>
</p>
<sector>