
<div id="new-a-banner" class="modal fade <%= 'active' if @active.nil? %>">
	<%= form_for(:ad_banner,:remote => true, :url => admin_ad_banners_path) do |f| %>

	<div class="modal-header">
		<a class="close" data-dismiss="modal">×</a>
		<h3><%= t('new.banner') %></h3>
	</div>
	
	<div class="modal-body form-horizontal">
		<div class="control-group">
			<%= f.label :title, t(:title),:class => "control-label"  %>
			<div class="controls">
				<%= f.text_field :title %>
			</div>
		</div>

		<div class="control-group">
			<%= f.label :transition_sec, t('ad.transition_sec'),:class => "control-label" %>
			<div class="controls">
				<%= f.text_field :transition_sec %> <%= t("ad.trans_unit_sec") %>
			</div>
		</div>

		<div class="control-group">
			<%= f.label :best_size, t('ad.best_size'),:class => "control-label" %>
			<div class="controls">
				<%= f.text_field :best_size %> Ex: 500px x 300px
			</div>
		</div>
		
		<div class="control-group">
			<%= f.label :ad_fx, t('ad.ab_fx') %>
			<div class="controls">
				<%= f.select :ad_fx ,AdBanner::FX_TYPES %>
			</div>
		</div>
	</div>
	<div class="modal-footer">
		<span id="ad_banner-modal-info"></span>
		<%= f.submit t('submit'), :class=>'btn btn-primary',:remote=>true %>
		<a class="btn" data-dismiss="modal"><%= t('cancel')%></a>
	</div>
	<% end %>
</div>

