Editing assets
<% form_for @asset, :url => admin_asset_path(@asset), :html => { :multipart => true } do |f| %>
<%= f.error_messages %>
<%= render :partial => "form", :locals => { :f => f } %>
<%= f.submit 'Update' %>
<% end %>
<%= link_to 'Back', admin_assets_path %>