<%= render :partial => @asset %>

<%= link_to 'Edit', edit_asset_path(@asset) %> | <%= link_to 'Destroy', @asset, :method => :delete, :confirm => "Are you sure?" %>
<%= link_to 'See All Assets', assets_path %>

Softwares

<%= render :partial => @asset.softwares %>
Company Version Product Key Platform Media Location Installed Installed By Modified By Note
<%= link_to 'New Software', new_software_path %>

Comments

<%= render :partial => @asset.comments.reverse %> <% form_for [@asset, Comment.new] do |f| %>

<%= f.label :body, "New Comment" %>
<%= f.text_area :body, :class => "comment_body" %>

<%= f.submit "Add Comment" %>

<% end %>