Sha256: 335f58f7ce70e3259b4af3938fdca4a0d6e1fd0d69d6224944f66c9cff28c7a8

Contents?: true

Size: 456 Bytes

Versions: 4

Compression:

Stored size: 456 Bytes

Contents

<h3>Index</h3>

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ember-appkit-rails-0.4.0 lib/generators/templates/scaffold/template/index.hbs
ember-appkit-rails-0.3.2 lib/generators/templates/scaffold/template/index.hbs
ember-appkit-rails-0.3.1 lib/generators/templates/scaffold/template/index.hbs
ember-appkit-rails-0.3.0 lib/generators/templates/scaffold/template/index.hbs