Sha256: 6a62353680b18266392036d42b73c4fe45fdbfb111ccb534d48fff97e5eca2c2

Contents?: true

Size: 651 Bytes

Versions: 3

Compression:

Stored size: 651 Bytes

Contents

<h1>Listing <%= file_name %></h1>

<table>
  <tr>
    <th>Filename</th>
    <th></th>
    <th></th>

  </tr>

<%% @<%= file_name.pluralize %>.each do |<%= file_name.singularize %>| %>
  <tr>
    <td>
    	<%%= phocoder_thumbnail <%= file_name.singularize %>,"small",false %><br/>
		<%%= <%= file_name.singularize %>.filename %>
	</td>
    <td><%%= link_to 'Show', <%= file_name.singularize %> %></td>
    
    <td><%%= link_to 'Destroy', <%= file_name.singularize %>, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<%% end %>
</table>

<br />

<%%= link_to 'New <%= file_name.singularize %>', new_<%= file_name.singularize %>_path %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
phocoder-rails-0.0.58 lib/generators/phocoder_rails/templates/views/index.html.erb.tt
phocoder-rails-0.0.57 lib/generators/phocoder_rails/templates/views/index.html.erb.tt
phocoder-rails-0.0.56 lib/generators/phocoder_rails/templates/views/index.html.erb.tt