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