Top "Simple-form" questions

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

simple_form collection labels

I want to use labels for collection items (for example, their translations). = simple_form_for(@client) do |f| = f.error_…

ruby-on-rails ruby-on-rails-3 simple-form
Skip wrapper on associations with simple_form

I'm using simple_form, and I wonder if it's possible to skip any wrapper divs when dealing with an association …

ruby-on-rails ruby ruby-on-rails-3 simple-form
File upload field causing ActionController::InvalidAuthenticityToken exception

Using rails 4, and trying to add a file field to an existing form, using simple_form and paperclip. Here's the …

ruby-on-rails paperclip simple-form
Simple_form how to make accept terms checkbox inline

<p><%= f.input :terms, :as => :boolean, :label => false, :boolean_style => :inline %> Accept <%= …

html css ruby-on-rails twitter-bootstrap simple-form
Rails : simple_form : Getting an empty string from checkbox collection

I have the following code in my views <%= f.input :role_names, as: :check_boxes, collection: @program.role_names %&…

ruby-on-rails simple-form
add :onchange => "readURL(this)" to input file on simple_form

I have a problem with this: I want add :onchange => "readURL(this)" to my: <%= f.input :image, :as =&…

ruby-on-rails ruby-on-rails-3 ruby-on-rails-3.1 simple-form
How do I change the html tag and class generated by fields_for?

This is a simple question that I'm kinda ashamed to ask, but I've been banging my head against the wall …

ruby-on-rails ruby-on-rails-3 simple-form fields-for
using simple_form with bootstrap 3

Does anyone know how to change the class simple_form uses from 'controls' to 'form-control'. This was a change made …

ruby-on-rails twitter-bootstrap simple-form twitter-bootstrap-3
Rails 4 action routes with simple_form and shallow nested resources

resources :users, shallow: true do resources :shoes end This gives me two different routes for create and edit user_shoes_…

ruby-on-rails simple-form
Showing fields with errors for nested forms in Rails 3.2 + SimpleForm

I have a Flight model nested inside a FlightLog model. A FlightLog may contain many flights. I'm using SimpleForm with …

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