Sha256: 22b2fd1963c9e626259f9827bfb37bc704e1d25dca95d9878ade551966771d33
Contents?: true
Size: 603 Bytes
Versions: 1
Compression:
Stored size: 603 Bytes
Contents
<table> <thead> <tr> <% @args.each do |arg| %> <% ar = arg.split(':') %> <th><%= ar[0].camelize %></th> <% end %> <th>Actions</th> </tr> </thead> <tbody> <%% @<%= file_name.pluralize %>.each do |<%= file_name %>| %> <tr> <% @args.each do |arg| %> <% ar = arg.split(':') %> <td><%%= <%= file_name %>.<%= ar[0] %> %></td> <% end %> <td> <%%= link_to "child", <%= file_name %>_path(<%= file_name %>) %> <%%= link_to "edit", edit_<%= file_name %>_path(<%= file_name %>) %> </td> </tr> <%% end %> </tbody> </table>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mpt_tree-0.0.7 | lib/generators/tree/templates/views/_list.html.erb |