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

16 lines
427 B
Plaintext

<div id='pop_up_content' class="main2">
<h1><%= t('new.asset') %></h1>
<%= flash_messages %>
<%= form_for :asset, :url => admin_assets_path, :html => {:id => 'ajaxForm', :multipart => true } do |f| %>
<%= f.error_messages %>
<%= render :partial => "form", :locals => { :f => f } %>
<div class="button_bar">
<a id='ajax_form_submit' class="btn btn-primary"><%= t(:create_) %></a>
</div>
<% end %>
</div>