Add a class attribut into a form_tag

Hi, do you know how to add into this balise a class attribut:

  <% form_tag :action => 'search' do -%>

in order to do this in HTML:

  <form action="/people/search" method="post" class="foo">

I had try to use the official documentation
but that don't seems work...

Thanks :slight_smile:

It does if you read close enough :slight_smile:
form_tag({:action => 'search'}, :class => 'foo') ...


Thank you! :slight_smile: