Sha256: 524da9ac2538e8bf6cd72f31ab8cc62f7db7971e17c2eed651765afde486e91e
Contents?: true
Size: 1.2 KB
Versions: 4
Compression:
Stored size: 1.2 KB
Contents
- title @<%=parent_singular_name%>.title - heading @<%=parent_singular_name%>.heading - content_for :head do = stylesheet_link_tag 'dust_<%=parent_singular_name%>_app' = @<%=parent_singular_name%>.desc = will_paginate @<%=child_plural_name%> %ul{:class => "columns"} - @<%=child_plural_name%>.each do |<%=child_singular_name%>| %li - link_to <%=child_singular_name%>.file.url(:large), :class => 'group', :alt => <%=child_singular_name%>.title, :rel => "#{@<%=parent_singular_name%>.title}" do = image_tag(<%=child_singular_name%>.file.url(:thumb), :alt => <%=child_singular_name%>.desc) .info %h3{:class => "title"} = truncate <%=child_singular_name%>.title %p{:class => "desc"} = <%=child_singular_name%>.desc .clear = will_paginate @<%=child_plural_name%> - if permitted_to? :manage, :<%=parent_plural_name%> %p = link_to "Manage <%=child_plural_class_name%>", @<%=parent_singular_name%> | = link_to "Edit", edit_<%=parent_singular_name%>_path(@<%=parent_singular_name%>) | = link_to "Destroy", @<%=parent_singular_name%>, :confirm => 'Are you sure?', :method => :delete | = link_to "View All", <%=parent_plural_name%>_path
Version data entries
4 entries across 4 versions & 1 rubygems