17 lines
609 B
Plaintext
17 lines
609 B
Plaintext
|
<%= 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| %>
|
||
|
<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 %>
|