How to add an html id to a form_for tag in rails?
One more way: <%= form_for @user, html: {id: :form_id } do |f| %>
try this <%= form_for @user, :url => "controller action url", :html => {:id => "Blabla"} do |f| %>
EDIT:
If you don't want custom action URL then you can use this as well
<%= form_for @user, html: {id: "BlaBla"} do |f| %>
This is new syntax
<%= form_for @user, html: {id: "my_form"} do |f| %> <% end %>