Sha256: 1b521834ccc51ac1e2b52015c9a87210da49abcb5ea96af45f39beabc44dffaa
Contents?: true
Size: 789 Bytes
Versions: 1
Compression:
Stored size: 789 Bytes
Contents
<% if @collections.empty? %> <h2> You haven't created collections yet. </h2> <% else %> <% @collections.each do |collection| %> <table> <tr><th><%= collection[:title]%> <span><%= link_to("x", collection_path(collection[:id]), :method => :delete) %></span></th></tr> <% collection[:route_set_ids].each do |item| %> <tr> <p> <% route = @route_set.find(item) %> <% if route.saved? %> <td><%= link_to "#{route.description}", route_path(item), :title => "#{route.verb} #{route.path}" %></td> <% else %> <td><%= link_to "Add description to #{route.path}", route_path(item) %></td> <% end %> </p> </tr> <% end %> </table> <% end %> <% end %> <%= link_to "Create a new Collection", new_collection_path%>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
docushin-0.0.2 | app/views/docushin/collections/index.html.erb |