adbanner-test/app/views/admin/ad_banners/index.html.erb

13 lines
414 B
Plaintext

<% content_for :page_specific_javascript do %>
<%= javascript_include_tag "cycle2" %>
<%= javascript_include_tag "ad_banner/banner_preview" %>
<% end %>
<%= render_filter @filter_fields, "index_table" %>
<span id="index_table">
<%= render 'index_table'%>
</span>
<script type="text/javascript">
$(document).on("ajaxSuccess",function(event, xhr, settings){
$(".cycle-slideshow").cycle();
})
</script>