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">
|
2012-09-12 11:12:50 +00:00
|
|
|
<h1><%= t('editing.asset') %></h1>
|
2011-12-28 12:49:53 +00:00
|
|
|
|
2012-05-16 22:28:29 +00:00
|
|
|
<%= flash_messages %>
|
|
|
|
|
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-09-12 11:12:50 +00:00
|
|
|
<a id='ajax_form_submit' class="btn btn-primary"><%= t(:update_) %></a>
|
2011-12-29 11:45:21 +00:00
|
|
|
<% end %>
|
2011-12-28 12:49:53 +00:00
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
</div>
|