<tr>
  <%= sortable_th "name", nil, :style => "width:10em" %>
  <%= sortable_th "ipaddress", nil, :style => "width:10em" %>
  <th style="width:12em">OS</th>
  <%= sortable_th "manufacturer,model", t(:fullmodel), :style => "width:12em" %>
  <th style="width:8em">Localisation</th>
  <th colspan="2" class="actions" style="width:4em">Actions</th>
</tr>
<% for machine in @machines %>
  <tr>
    <td><%= link_to machine.name, machine %></td>
    <td><%= machine.ipaddress %></td>
    <td><%= @operating_systems[machine.operating_system_id] %></td>
    <td><%= machine.fullmodel %></td>
    <td><%= link_to(@racks[machine.physical_rack_id], machines_path(:by_rack => machine.physical_rack_id)) if machine.physical_rack_id %></td>
    <td class="actions"><%= link_to "Editer", edit_machine_path(machine) %></td>
    <td class="actions"><%= link_to "Supprimer", machine, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>

<tr>
  <%= sortable_th "name", nil, :style => "width:10em" %>
  <%= sortable_th "ipaddress", nil, :style => "width:10em" %>
  <th style="width:12em">OS</th>
  <%= sortable_th "manufacturer,model", t(:fullmodel), :style => "width:12em" %>
  <th style="width:8em">Localisation</th>
  <th colspan="2" class="actions" style="width:4em">Actions</th>
</tr>
<% for machine in @machines %>
  <tr>
    <td><%= link_to machine.name, machine %></td>
    <td><%= machine.ipaddress %></td>
    <td><%= @operating_systems[machine.operating_system_id] %></td>
    <td><%= machine.fullmodel %></td>
    <td><%= link_to_rack @racks[machine.physical_rack_id] %></td>
    <td class="actions"><%= link_to "Editer", edit_machine_path(machine) %></td>
    <td class="actions"><%= link_to "Supprimer", machine, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>

Use link_to_rack() helper in machines/list_normal partial
Use link_to_rack() helper in machines/list_normal partial
