Sha256: cc02517fc9a329128ba1b287d783490d4172ef4dd977a4c1cea389457035715d
Contents?: true
Size: 967 Bytes
Versions: 36
Compression:
Stored size: 967 Bytes
Contents
<table> <thead> <tr> <td colspan="2"><h3>Types of resource in this dataset</h3></td> </tr> <tr> <th class="important_value">Type (click for details of type)</th> <th>Resources (click to browse data)</th> </tr> </thead> <tbody> <% types.each do |t| %> <tr> <td class="details constrain"> <h3><%= link_to t.label || t.uri, resource_path_from_uri(t.uri) %></h3> <p><%= t.comment %></p> </td> <td> <%= link_to pluralize(type_resource_counts[t.uri.to_s], "resource"), list_resources_path(dataset: dataset.slug, type_uri: t.uri) %> </td> </tr> <% end %> </tbody> <tfoot> <tr> <td colspan="2"> Dataset: <strong><%= dataset.title %></strong>.<br/> <strong><%= pluralize(resources_count, 'resource')%></strong>, of <strong><%= pluralize(types.length, 'type')%></strong>. </td> </tr> </tfoot> </table>
Version data entries
36 entries across 36 versions & 1 rubygems