41 lines
1.0 KiB
Plaintext
41 lines
1.0 KiB
Plaintext
<script type="text/javascript" charset="utf-8">
|
||
</script>
|
||
|
||
<div id="new-a-banner" class="modal fade in tab-pane <%= '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>Add AdBanner</h3>
|
||
</div>
|
||
|
||
<div class="modal-body form-horizontal">
|
||
<div class="control-group">
|
||
<%= f.label :title,:class => "control-label" %>
|
||
<div class="controls">
|
||
<%= f.text_field :title %>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="control-group">
|
||
<%= f.label :transition_sec,:class => "control-label" %>
|
||
<div class="controls">
|
||
<%= f.text_field :transition_sec %>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="control-group">
|
||
<%= f.label :ad_fx,:class => "control-label" %>
|
||
<div class="controls">
|
||
<%= f.select :ad_fx ,AdBanner::FX_TYPES %>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="modal-footer">
|
||
<%= f.submit t('submit'), :class=>'btn btn-primary' %>
|
||
<a class="btn" data-dismiss="modal"><%= t('cancel')%></a>
|
||
</div>
|
||
<% end %>
|
||
</div>
|
||
|