orbit-4-2/app/views/admin/assets/_edit.html.erb

17 lines
609 B
Plaintext
Raw Normal View History

<%= 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 %>