Forgot to remove ":remote => true" for asset new

This commit is contained in:
chris2tof authored and Christophe Vilayphiou committed 2012-01-24 11:56:08 +08:00
1 parent b04d845a5a
commit 1bbb197fba
1 file changed
+1 -1
+1 -1
View File
@@ -1,7 +1,7 @@
<div id='pop_up_content' class="main2">
<h1><%= t('admin.new_asset') %></h1>
<%= form_for :asset, :url => admin_assets_path, :html => {:id => (is_html ? nil : 'ajaxForm'), :multipart => true }, :remote => true do |f| %>
<%= form_for :asset, :url => admin_assets_path, :html => {:id => (is_html ? nil : 'ajaxForm'), :multipart => true } do |f| %>
<%= f.error_messages %>
<%= render :partial => "form", :locals => { :f => f } %>
<div class="button_bar">