orbit-basic/app/views/admin/assets/_edit.html.erb

16 lines
498 B
Plaintext
Raw Normal View History

<div id='pop_up_content' class="main2">
<h1><%= t('editing_asset') %></h1>
<%= 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 %>
<a id='submit_button'><%= t(:edit) %></a>
<% end %>
</div>
<% end %>
</div>