Top "Simple-form" questions

Questions about "Simple Form" which generates view code for forms in Rails.

Min value for input in Simple Form

I want to create a simple money input with SimpleForm. The money field should have a minimum value of 0, so …

ruby-on-rails simple-form
At forms, "Required: true" is not working

I'm making a Rails app but I'm having this issue In my form, I'm trying to make required some fields …

ruby-on-rails simple-form
Align checkboxes for f.collection_check_boxes with Simple_Form

I am using RoR and I am using the Simple_Form gem for my forms. I have an object relation …

ruby-on-rails checkbox simple-form
How to create a grouped select box using simple_form?

I'm using simple_form gem for creating Rails forms. http://github.com/plataformatec/simple_form All is great, except how …

ruby-on-rails forms select simple-form
Append/prepend bootstrap icons with simple_form

Twitter Bootstrap icons are pretty deadly seen here. Look at the bottom right hand corner of that section. See that …

ruby-on-rails-3 twitter-bootstrap simple-form
How to add data-attribute to the form tag in simple_form?

I'm using garlic.js to validate my forms. Garlic.js recommends adding a data-attribute on the form tag. Here's what …

ruby-on-rails simple-form custom-data-attribute
Give form a CSS class using simple_form_for

Here's what I've tried, and the simple_form_for call ignored my class setting. # Rails code in view: <%= simple_…

css ruby-on-rails ruby-on-rails-3 class simple-form
Rails 4 + simple_form and jQuery UI. Datepicker is not working via turbolinks

I have this form which calls datepicker: ... <%= f.input :expiration_date, as: :datepicker, required: false %> ... Simple_form wrapper: …

ruby-on-rails-4 datepicker jquery-ui-datepicker simple-form turbolinks
simple_form text input

I'm switching my application over to use simple_form but I'm a little confused about how to display a text …

ruby-on-rails ruby-on-rails-3 simple-form
Integration of simple_form with bootstrap 3

I've updated bootstrap to version 3. Everything works fine except the forms which are generated by simple_form gem. I don't …

ruby-on-rails twitter-bootstrap simple-form twitter-bootstrap-3