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