Sha256: e9ee615644a08dde0e4565427f76a09748d3c300ef4b3a52e01f167a2503240a
Contents?: true
Size: 827 Bytes
Versions: 7
Compression:
Stored size: 827 Bytes
Contents
<div class="row"> <div class="span8"> <table class="table table-bordered table-striped"> <thead> <tr> <th> Name </th> <th> Model </th> <%= raw("<th>Location</th>") if SETTINGS[:locations_enabled]%> <%= raw("<th>Organization</th>") if SETTINGS[:organizations_enabled]%> </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
7 entries across 7 versions & 1 rubygems