%label(for="connection_name") Connection: %select.connection_name(name="connection") %option(value="") Default - connection_names.each do |n| %option{:value=>n, :selected=>n == params[:connection]}= n