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
@@ -1,12 +1,9 @@
|
||||
<div class="main2">
|
||||
<h1><%= t('editing_asset') %></h1>
|
||||
<% content_for :secondary do %>
|
||||
<div class="assets_setup">
|
||||
<ul class="list">
|
||||
<li><%= link_to t(:new_asset, :scope => :admin), new_admin_asset_path, :remote => true, :class => 'button positive' %></li>
|
||||
</ul>
|
||||
</div>
|
||||
<% end -%>
|
||||
|
||||
<% form_for @asset, :url => admin_asset_path(@asset), :html => { :multipart => true } do |f| %>
|
||||
<%= f.error_messages %>
|
||||
<%= render :partial => "form", :locals => { :f => f } %>
|
||||
|
||||
<p>
|
||||
<%= f.submit t('update') %> <%= link_back %>
|
||||
</p>
|
||||
<% end %>
|
||||
</div>
|
||||
<%= render :partial => 'edit', :locals => {:is_html => true} %>
|
||||
Reference in new issue
Block a user