<% content_for :body do %>
<% unless notice.blank? %> <% end %>

Machine

<%= link_to 'Back to Machines', machines_path %>    |    <%= link_to 'Edit', edit_machine_path(@machine) %>    |    <%= link_to "Add Affinity", new_machine_machine_affinity_slot_path(@machine) %>

<% @machine.attributes.each do |key, value| -%> <% end -%> <% end %>
Attribute Value
<%= naf_make_header(key) %> <%= value %>
<%= link_to "Machine Affinity Slots", machine_machine_affinity_slots_path(@machine) %> <%= ::Logical::Naf::Machine.new(@machine).affinities %>
Mark machine down <%= link_to image_tag('terminate.png', class: 'action', title: "Mark machine(id: #{@machine.id}, server:#{@machine.server_name.blank? ? @machine.server_address : @machine.server_name}) down"), "#", { class: "terminate" } %>

<% end %> <%= render partial: 'naf/shared/application' %> <% content_for :javascripts do %> <% end %>