% content_for :page_specific_css do %> <%= stylesheet_link_tag "ad_banner" %> <% end %> <% content_for :page_specific_javascript do %> <%= javascript_include_tag "ad_banner" %> <% end %>
<%= f.label :title, t('admin.title') %> <%= f.text_field :title, :class => 'text' %>
<%= f.label :picture_position, t('admin.picture_position') %> <%= f.text_field :picture_position, :class => 'text' %>
<%= f.label :post_date, t('admin.post_date') %> <%= f.date_select :post_date, :order => [:year, :month, :day], :use_month_numbers => true %>
<%= f.label :unpost_date, t('admin.unpost_date') %> <%= f.date_select :unpost_date, :order => [:year, :month, :day], :use_month_numbers => true %>
<%= f.label :context, t('admin.context') %> <%= f.text_field :context, :class => 'text' %>
<%= f.label :direct_to_after_click, t('admin.direct_to_after_click') %> <%= f.check_box :direct_to_after_click %>
<%= f.label :ad_fx, t('admin.ad_fx') %> <%= f.select :ad_fx ,AdBanner::FX_TYPES %>
<%= f.label :ad_images, t('admin.ad_images') %>
<%#= render :partial => 'new_design_file', :object => @design.themes.build, :locals => { :field_name => "themes", :f => f, :classes => "r_destroy" } %>