Project

General

Profile

« Previous | Next » 

Revision a33142b9

Added by Dominic Cleal about 10 years ago

fixes #5038 - remove empty label causing template edit box indentation

View differences:

app/views/hosts/_assign_hosts.html.erb
<% hosts.each do |host| %>
<tr>
<td class="ca">
<%= f.check_box(:host_ids, {:label => "", :help_inline => "", :multiple => true, :onclick => 'hostChecked(this)', :id => "host_ids_#{host.id}", :class => 'host_select_boxes', }, host.id) %>
<%= f.check_box(:host_ids, {:label => :none, :help_inline => "", :multiple => true, :onclick => 'hostChecked(this)', :id => "host_ids_#{host.id}", :class => 'host_select_boxes', }, host.id) %>
</td>
<td><%= name_column(host) %> </td>
<td class="hidden-xs"><%= (icon(host.os, :size => "18x18") + trunc(" #{host.os.to_label}",14)).html_safe if host.os %></td>

Also available in: Unified diff