Integration of pop-up and generic js.erb
This commit is contained in:
1 parent
62aaf79491
commit
245def9cb6
14 files changed
+1613
-54
No files matched your search
@@ -0,0 +1,14 @@
|
||||
<div id='pop_up_content' class="main2">
|
||||
<h1><%= t('admin.new_asset') %></h1>
|
||||
|
||||
<%= form_for :asset, :url => admin_assets_path, :html => {:id => 'ajaxForm', :multipart => true }, :remote => 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(:create) %></a>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user