This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
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-01-24 03:38:53 +00:00
|
|
|
<a id='submit_button' 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>
|
|
|
|
|
|
|
|
|