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