Sha256: f44b0d645442d736b682c7e325a1aef3cd2fd685e16ab5a8dc370f22bc5103bb
Contents?: true
Size: 798 Bytes
Versions: 13
Compression:
Stored size: 798 Bytes
Contents
<% if collection.any? %> <table class="list-of-metrics"> <thead> <tr> <th scope="col"><%= t('activerecord.attributes.metric.name') %></th> <th scope="col"><%= t('activerecord.attributes.metric.value') %></th> </tr> </thead> <tbody> <% collection.each do |entity| %> <tr> <td> <% if entity.description.blank? %> <%= link_to entity.name, admin_metric_path(id: entity.id) %> <% else %> <%= link_to entity.description, admin_metric_path(id: entity.id) %> <% end %> </td> <td><%= entity.value %></td> </tr> <% end %> </tbody> </table> <% else %> <%= render 'shared/nothing_found' %> <% end %>
Version data entries
13 entries across 13 versions & 1 rubygems