This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
2011-12-28 12:49:53 +00:00
|
|
|
<div id='pop_up_content' class="main2">
|
|
|
|
<h1><%= t('editing_asset') %></h1>
|
|
|
|
|
2011-12-29 11:45:21 +00:00
|
|
|
<%= form_for @asset, :url => admin_asset_path(@asset), :html => {:id => (is_html ? nil : 'ajaxForm'), :multipart => true } do |f| %>
|
2011-12-28 12:49:53 +00:00
|
|
|
<%= f.error_messages %>
|
|
|
|
<%= render :partial => "form", :locals => { :f => f } %>
|
|
|
|
<div class="button_bar">
|
2011-12-29 11:45:21 +00:00
|
|
|
<% if is_html %>
|
|
|
|
<%= link_back %>
|
|
|
|
<%= f.submit t(:edit) %>
|
|
|
|
<% else %>
|
2012-05-16 03:07:11 +00:00
|
|
|
<a id='ajax_form_submit'><%= t(:update) %></a>
|
2011-12-29 11:45:21 +00:00
|
|
|
<% end %>
|
2011-12-28 12:49:53 +00:00
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
</div>
|