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