Forgot to remove ":remote => true" for asset new
This commit is contained in:
parent
b04d845a5a
commit
1bbb197fba
|
@ -1,7 +1,7 @@
|
||||||
<div id='pop_up_content' class="main2">
|
<div id='pop_up_content' class="main2">
|
||||||
<h1><%= t('admin.new_asset') %></h1>
|
<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 %>
|
<%= f.error_messages %>
|
||||||
<%= render :partial => "form", :locals => { :f => f } %>
|
<%= render :partial => "form", :locals => { :f => f } %>
|
||||||
<div class="button_bar">
|
<div class="button_bar">
|
||||||
|
|
Loading…
Reference in New Issue