2011-12-28 12:49:53 +00:00
|
|
|
<div id='pop_up_content' class="main2">
|
|
|
|
<h1><%= t('admin.new_asset') %></h1>
|
|
|
|
|
2011-12-29 18:34:13 +00:00
|
|
|
<%= form_for :asset, :url => admin_assets_path, :html => {:id => (is_html ? nil : 'ajaxForm'), :multipart => true } do |f| %>
|
2011-12-28 12:49:53 +00:00
|
|
|
<%= f.error_messages %>
|
|
|
|
<%= render :partial => "form", :locals => { :f => f } %>
|
|
|
|
<div class="button_bar">
|
2011-12-29 11:45:21 +00:00
|
|
|
<% if is_html %>
|
|
|
|
<%= link_back %>
|
|
|
|
<%= f.submit t(:create) %>
|
|
|
|
<% else %>
|
2012-04-26 08:42:28 +00:00
|
|
|
<a id='ajax_form_submit' class="new"><%= t(:create) %></a>
|
2011-12-29 11:45:21 +00:00
|
|
|
<% end %>
|
2011-12-28 12:49:53 +00:00
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|