Top "Simple-form" questions

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

rails simple_form - hidden field - create?

How can you have a hidden field with simple form? The following code: = simple_form_for @movie do |f| = f.…

ruby-on-rails ruby-on-rails-3 form-for hidden-field simple-form
How to define action with simple form for?

I am trying to define the action "savenew" in admin/photographers controller. I have tried this: <%= simple_form_for(:…

ruby-on-rails ruby ruby-on-rails-3 simple-form
SimpleForm without for (non model form)

Is it possible to use Simple Form (by: Plataformatec) without a model? https://github.com/plataformatec/simple_form

ruby-on-rails ruby-on-rails-3 simple-form
rails, simple_form, how to set selected index of a collection when page loaded?

I am using simple_form gem, I have a countries collection, it work fine when I select the country, and …

ruby-on-rails ruby-on-rails-3 simple-form
Rails 4 simple_form collection_select

How do I translate the following to simple form? <%= form_for(@bill) do |f| %> <%= f.label :location_…

ruby-on-rails simple-form
Default value for input with simple_form

im trying to do default value for input works ok: <%= f.input_field :quantity, default: '1' %> but …

ruby-on-rails ruby-on-rails-4 erb simple-form
Is there a way to pass params when clicking submit button in simple_form view in rails 3.2.12?

In simple_form view, the submit button is like this: <%= f.button :submit, 'Save' %> We are trying to …

ruby-on-rails-3 simple-form
rails simple_form fields not related to the model

I have an existing form which is tied to a model named 'Order', but i want to add new form …

ruby-on-rails simple-form
add checkbox with simple_form without association with model?

How I can add checkbox with simple_form without association with model? I want to create checkbox which will handle …

ruby-on-rails haml simple-form
Adding a default value to text-input in simple-form

I want to add a default value to a text-input field using simple-form. With :placeholder it is not used as …

ruby-on-rails ruby-on-rails-3 simple-form