Sha256: 4a28fcc6f8fc7d4c43b80f152b1d0a8940948788690a853438b6812d9d603544

Contents?: true

Size: 414 Bytes

Versions: 4

Compression:

Stored size: 414 Bytes

Contents

<h1>Listing <%= plural_name %></h1>

<table>
  <tr>
<% for attribute in attributes -%>
    <th><%= attribute.human_name %></th>
<% end -%>
    <th></th>
    <th></th>
    <th></th>
  </tr>
  <%%= render :partial => '<%= singular_name %>', :collection => @<%= plural_name %> %>
</table>

<p><%%= link_to 'New <%= singular_name %>', new_<%= scope_prefix + singular_name %>_path(<%= instance_variable_scope %>) %></p>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ingoweiss_generators-0.0.6 lib/generators/ingoweiss/scaffold_views/templates/index.html.erb
ingoweiss_generators-0.0.5 lib/generators/ingoweiss/scaffold_views/templates/index.html.erb
ingoweiss_generators-0.0.4 lib/generators/ingoweiss/scaffold_views/templates/index.html.erb
ingoweiss_generators-0.0.3 lib/generators/ingoweiss/scaffold_views/templates/index.html.erb