Sha256: 2c4e6f48138e3c9d1aea8f15187479a2e2cb149edb37426f0d28d8dfed2d0e3e
Contents?: true
Size: 924 Bytes
Versions: 35
Compression:
Stored size: 924 Bytes
Contents
<div class="row"> <div class="col-md-8"> <table class="table table-bordered table-striped"> <thead> <tr> <th><%= _('Name') %></th> <th><%= _('Model') %></th> <% if SETTINGS[:locations_enabled] %> <th><%= _('Location') %></th> <% end %> <% if SETTINGS[:organizations_enabled] %> <th><%= _('Organization') %></th> <% end %> </tr> </thead> <tbody> <% hosts.each do |host| -%> <tr> <td><%=h host %> </td> <td><%=h host.model %> </td> <% if SETTINGS[:locations_enabled]%> <td><%=h host.try(:location) %></td> <% end %> <% if SETTINGS[:organizations_enabled]%> <td><%=h host.try(:organization) %></td> <% end %> </tr> <% end -%> </tbody> </table> </div> </div>
Version data entries
35 entries across 35 versions & 1 rubygems