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

This commit is contained in:
chris2tof 2011-12-30 02:34:13 +08:00 committed by Christophe Vilayphiou
parent b04d845a5a
commit 1bbb197fba
1 changed files with 1 additions and 1 deletions

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">