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