2011-12-28 12:49:53 +00:00
|
|
|
<div id='pop_up_content' class="main2">
|
|
|
|
<h1><%= t('admin.new_asset') %></h1>
|
|
|
|
|
2011-12-29 11:45:21 +00:00
|
|
|
<%= form_for :asset, :url => admin_assets_path, :html => {:id => (is_html ? nil : 'ajaxForm'), :multipart => true }, :remote => 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 %>
|
|
|
|
<a id='submit_button'><%= t(:create) %></a>
|
|
|
|
<% end %>
|
2011-12-28 12:49:53 +00:00
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|