grunt-doctrine
Version:
Grunt plugin to convert doctrine xml annotations into backbone models and collections. Useful in conjunction with doctrine apigility. Includes option to scaffold an entire BBB application
20 lines (18 loc) • 361 B
HTML
<h1><%= model.moduleName %></h1>
<a class="btn btn-default" href="#/<%= model.modulePrefix %>/create">Create</a>
<table class="table table-striped">
<thead>
<%
_.each(model.fields, function(mfield) { %>
<th>
<%= mfield.name %>
</th>
<% }) %>
<th>
</th>
<th>
</th>
</thead>
<tbody class="<%= model.moduleName %>-body">
</tbody>
</table>