Orbit/app/views/admin/assets/_edit.html.erb

18 lines
552 B
Plaintext
Raw Normal View History

<div id='pop_up_content' class="main2">
2012-09-12 11:12:50 +00:00
<h1><%= t('editing.asset') %></h1>
2012-05-16 22:28:29 +00:00
<%= flash_messages %>
<%= form_for @asset, :url => admin_asset_path(@asset), :html => {:id => (is_html ? nil : 'ajaxForm'), :multipart => true } do |f| %>
<%= f.error_messages %>
<%= render :partial => "form", :locals => { :f => f } %>
<div class="button_bar">
<% 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>
<% end %>
</div>
<% end %>
</div>