In my rails application I have two associated models called Magazine and Article. Magazine class Magazine < ActiveRecord::Base
Whenever I use simple_form_for(), it defaults to \"my_subclasses_path\" rather than \"my_base_classes_path\". How can I tell it to not use the subclass?
Using simple_form -- is there a way to change where the input field\'s label is placed?If for example, I wanted to place the label above the 开发者_如何学运维field, how would I do that?In the CSS styl
I\'m starting to use simple_form for 开发者_StackOverflow社区a rails application, and while converting some of my forms, I came across one that has two models that it is working with, sort of an embed
I want to print text to HTML. I\'m using si开发者_Go百科mple_format, however everything seems to be right except that what is inside \"< >\" is not printed.
I am using simple_form and have a following sample tag: <%= f.input :medical_conditions, :label=>false, :collection => medical_conditons, :as => :check_boxes%>
Models: class Topic < ActiveRecord::Base has_many:posts, :dependent => :destroy validates:name, :presence => true,
i\'m getting this error message popping up with strange styling. Where in my application is it comi开发者_运维百科ng from? I\'m using the simple form gem.
I 开发者_如何学编程have this form using the simple_form plugin: <%= simple_form_for([@video, @video.comments.new], :remote => true) do |f| %>
Is it possible to group inputs with simple_form? I want \"Postcode and city\" to appear with one label and two inputs in one div as a开发者_开发百科 group and not separately. But I cannot find a swit