Diego Dias
Diego Dias

Reputation: 914

simple_form multiple inputs inline

I'm using simple_form 1.5.2 + rails 3.1 gem in my project, but simple_form generates one input per line.

How to do to have more of one inputs per line?

Upvotes: 1

Views: 5435

Answers (2)

Diego
Diego

Reputation: 858

I did this:

:wrapper_html => { :style => 'display: inline' }

Upvotes: 4

Diego Dias
Diego Dias

Reputation: 914

I solved my problem using :wrapper_html => { :class => "myclass" }

Upvotes: 4

Related Questions