Sha256: 49bcab740d00bab60501c56b7fb3d83ea08e531ac2258944486feb3e883a0209
Contents?: true
Size: 1018 Bytes
Versions: 20
Compression:
Stored size: 1018 Bytes
Contents
<%% title "<%= plural_name.titleize %>" %> <%- first_attribute = model_attributes.first -%> <div class="button_bar"> <%%= render :partial => 'search' %> <%%= link_to 'new page', new_<%= singular_name %>_path, :class => 'newfile tip', :title => "New <%= singular_name.titleize %>" %> </div> <%%= will_paginate @<%= plural_name %> %> <%% @<%= plural_name %>.each do |<%= singular_name %>| %> <div class="item"> <div style='float:right'> <%%= link_to '', edit_<%= singular_name %>_path(<%= singular_name %>), :class => 'edit tip', :title => "Edit This Item" %> <%%= link_to '', <%= singular_name %>, :confirm => 'Are you sure?', :method => :delete, :class => 'destroy tip', :title => "Destroy This Item" %> </div> <h3><%%= link_to <%= singular_name %>.<%= first_attribute.name %>, <%= singular_name %> %></h3> <p> <%%= link_to "Preview <%= singular_name.titleize %>", <%= singular_name %>, :class => 'remote_iframe' %> </p> </div> <%% end -%> <%%= will_paginate @<%= plural_name %> %>
Version data entries
20 entries across 17 versions & 1 rubygems