Integration of pop-up and generic js.erb

This commit is contained in:
chris2tof committed 2011-12-28 20:49:53 +08:00
1 parent 62aaf79491
commit 245def9cb6
14 files changed
+1613 -54

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
<div id='pop_up_content' class="main2">
<h1><%= t('editing_asset') %></h1>
<%= form_for @asset, :url => admin_asset_path(@asset), :html => {:id => 'ajaxForm', :multipart => true } do |f| %>
<%= f.error_messages %>
<%= render :partial => "form", :locals => { :f => f } %>
<div class="button_bar">
<%= link_back if is_html %>
<a id='submit_button'><%= t(:update) %></a>
</div>
<% end %>
</div>