<%= form_for @ad_banner, url: admin_ad_banner_path(@ad_banner), remote: true do |f| %>
  <fieldset>
    <%= render :partial => "form", :locals => { :f => f } %>
    <div class="form-actions">
      <a href="javascript:$.pageslide.close()" class="btn btn-small"><%= t(:cancel) %></a>
      <%= f.submit t(:submit), class: 'btn btn-primary btn-small' %>
    </div>
  </fieldset>
<% end %>