simple-form
Rails 3.1 simple_form submit style css
Hello did anybody know how to add a class to a simple_form submit button, for css style.Here\'s what I try to do:[详细]
2023-04-13 04:53 分类:问答Trying to turn Simple_form gem's collection radio's wrapper into <li> element
I am using the simple_form gem (https://github.com/plataformatec/simple_form) to help out the forms in my app. But I\'d like to display the many radio buttons I\'ve got here in li tag. Simple_form now[详细]
2023-04-10 04:48 分类:问答Carrierwave image upload in nested form still creating record even no file is specified
I have a Carrierwave image upload in a nested simple_form which works (sort of) unless the user does not specify a file, in which case a blank Picture object is created unless there was a previously e[详细]
2023-04-10 04:07 分类:问答Rails simple_form attribute required mark (*)
I am using Simple Form in my app and I\'d like to remove the * to indicate an attribute is required on all of my forms (existing and those yet to be created).[详细]
2023-04-09 09:17 分类:问答association id not getting set using accepts_nested_attributes_for and decent_exposure
When I post a form to create a new inquiry with a child comment (in the app, inquiries can have multiple comments), the comment is not getting built. It works when remove the presence validations. So[详细]
2023-04-07 12:32 分类:问答want rails simple_form radio button to display text that's not the value
I am using the simple_form gem https://github.com/plataformatec/simple_form to create some input fields; one of which is a radio button group, like this:[详细]
2023-04-06 04:12 分类:问答How to set current value in collection in simple_form
Here is a piece of code in edit.html.erb which does not work. The p开发者_高级运维urpose of the code is to fill a form for editing. Collection is used with option of yes and no. How can I set the coll[详细]
2023-04-05 13:20 分类:问答Can't create Custom inputs for some (Text, Booleans, ...) types, with SimpleForm
I can\'t figure out why this is not working as it should - or - I\'m missing something important ? Here\'s the list of the mapped types from simple_form / lib / simple_form / form_b开发者_JAVA技巧uil[详细]
2023-04-04 23:31 分类:问答Rails: Using simple_form and integrating Twitter Bootstrap
I\'m trying to build a rails app and simple_form looks to be a really useful gem. Problem is that I am using twitter bootstrap css to do the styling and the simple_form doesn\'t allow you to specify t[详细]
2023-03-30 16:47 分类:问答Rails simple_form association help with option tag
In my form I have: <%= f.association :virksomhed, :collectio开发者_开发百科n => Virksomhed.all(:order => \'navn\'), :prompt => \"Vælg virksomhed\" %>[详细]
2023-03-30 01:33 分类:问答