<%= form_for @ad_image, url: admin_ad_image_path(@ad_image), html: {class: "form-horizontal main-forms"} do |f| %>
  <fieldset>
    <%= render partial: 'form', locals: {f: f} %>
  </fieldset>
<% end %>