Sha256: 9e279df0ea3583eab7ae882d29981b738dbbbfe258d510b951a80e9b89055784

Contents?: true

Size: 482 Bytes

Versions: 3

Compression:

Stored size: 482 Bytes

Contents

<h3>Index</h3>

<p>{{#link-to '<%= file_name.pluralize -%>.new'}}New <%= file_name.singularize -%>{{/link-to}}</p>

<table>
  <tr>
    <th>id</th>
<% attributes.each do |attribute| -%>
    <th><%= attribute[:name].titleize -%></th>
<% end -%>
  </tr>
  {{#each}}
    <tr>
      <td>{{#link-to '<%= file_name.pluralize -%>.show' this}}{{id}}{{/link-to}}</td>
<% attributes.each do |attribute| -%>
      <td>{{<%= attribute[:name] -%>}}</td>
<% end -%>
    </tr>
  {{/each}}
</table>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ember-appkit-rails-0.2.2 lib/generators/templates/scaffold/template/index.hbs
ember-appkit-rails-0.2.1 lib/generators/templates/scaffold/template/index.hbs
ember-appkit-rails-0.2.0 lib/generators/templates/scaffold/template/index.hbs