<h1><%= t('admin.new_asset') %></h1> <%= form_for :asset, :url => admin_assets_path, :html => { :multipart => true } do |f| %> <%= f.error_messages %> <%= render :partial => "form", :locals => { :f => f } %> <p> <%= f.submit t('create') %> <%= link_back %> </p> <% end %>