<div class="hero-unit">
  <h2>All <%= names.constructor.plural %></h2>
  <@- linkTo('Create a new <%= names.constructor.singular %>', add<%= names.constructor.singular %>Path, {class: 'btn pull-right'}); @>
</div>

<@ if (<%= names.property.plural %>) { @>
<@ for (var i = 0, ii = <%= names.property.plural %>.length; i < ii; i++) { @>
<div class="row list-item">
  <div class="span8">
    <h3><@- linkTo(<%= names.property.plural %>[i].<%= properties['default'].name %>, <%= names.property.singular %>Path(<%= names.property.plural %>[i].id)); @></h3>
  </div>
  <div class="span4">
    <h3><i class="icon-list-alt"></i><@= <%= names.property.plural %>[i].id; @></h3>
  </div>
</div>
<%% } %>
<%% } %>
