<% unless @record.marked_down %> Mark machine down <%= link_to image_tag('terminate.png', class: 'action', title: "Mark machine(id: #{@record.id}, server:#{@record.server_name.blank? ? @record.server_address : @record.server_name}) down"), "#", { class: "terminate" } %> <% end %> <% content_for :javascripts do %> <% end %>