<%= form_for @template, url: admin_ruling_templates_path, html: {class: "form-horizontal main-forms", :id => "template-form"} do |f| %>
<%= render :partial => 'form', locals: {f: f} %>
<% end %>