<h1>Editing asset</h1>

<% form_tag :action => 'update', :id => @asset do %>
  <%= render :partial => 'form' %>

  <p>
  <select name="asset[asset_type_id]">
    <%= options_from_collection_for_select @asset_types, "id", "name", 
                                           @asset.asset_type.id %>
  </select>
  </p>

  <%= submit_tag 'Edit' %>
<% end %>

<%= link_to 'Show', :action => 'show', :id => @asset %> |
<%= link_to 'Back', :action => 'list' %>