foreman/app/views/hosts/_selected_hosts.html.erb @ 82e47ae0
49338863 | Amos Benari | <div class="row">
|
|
82e47ae0 | Amos Benari | <div class="span8">
|
|
1a51088d | Ohad Levy | ||
82e47ae0 | Amos Benari | <table class="table table-bordered table-striped">
|
|
49338863 | Amos Benari | <thead>
|
|
<tr>
|
|||
<th> Name </th>
|
|||
<th> Hostgroup </th>
|
|||
<th> Environment </th>
|
|||
</tr>
|
|||
</thead>
|
|||
<tbody>
|
|||
<% hosts.each do |host| -%>
|
|||
<tr class="<%= cycle("even", "odd") -%>">
|
|||
<td><%=h host %> </td>
|
|||
<td><%=h host.try(:hostgroup) %></td>
|
|||
<td><%=h host.try(:environment) %></td>
|
|||
</tr>
|
|||
<% end -%>
|
|||
</tbody>
|
|||
</table>
|
|||
</div>
|
|||
</div>
|