<%= form_for @hpsclass, :url => {:action => "update"}, :html => { :multipart => true , :class=>"form-horizontal main-forms"} do |f| %>
<fieldset>
<%= render :partial => "form", locals: {f: f} %>
</fieldset>
<% end %>