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.
orbit-4-1/app/views/admin/assets/_edit.html.erb

17 lines
609 B
Plaintext

<%= flash_messages %>
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h3><%= t('editing.asset') %></h3>
</div>
<%= form_for @asset, :url => admin_asset_path(@asset), :remote => true do |f| %>
<div class="modal-body main-forms" id="modal_body">
<fieldset>
<%= f.error_messages %>
<%= render :partial => "form", :locals => { :f => f } %>
</fieldset>
</div>
<div class="modal-footer">
<a href="#" class="btn" data-dismiss="modal">Close</a>
<%= f.submit t('submit'), class: 'btn btn-primary' %>
</div>
<% end %>