%=form_for @port_configuration, method: :post, html: { class: "form-horizontal port-configuration-form" , role: "form"} do |f|%>