Sha256: b41cd2e143af71d19c8f5dcc1a1075374cf32f8cdc7b05b129de04d0d7364f60
Contents?: true
Size: 721 Bytes
Versions: 1
Compression:
Stored size: 721 Bytes
Contents
<%% title <%= class_name %>.human_name(:count => 2) %> <table> <tr> <%- for attribute in attributes -%> <th><%%= <%= class_name %>.human_attribute_name('<%= attribute.name %>') %></th> <%- end -%> </tr> <%% for <%= singular_name %> in @<%= plural_name %> %> <tr> <%- for attribute in attributes -%> <td><%%=h <%= singular_name %>.<%= attribute.name %> %></td> <%- end -%> <%= render_link :show, :ident => 3, :tag => :td, :instance_variable => false -%> <%= render_link :edit, :ident => 3, :tag => :td, :instance_variable => false -%> <%= render_link :destroy, :ident => 3, :tag => :td, :instance_variable => false -%> </tr> <%% end %> </table> <%= render_link :new, :tag => :p -%>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
splendeo-generators-0.3.1 | rails_generators/splendeo_scaffold/templates/views/erb/index.html.erb |