formtastic
Is there a way to disable default formtastic layout?
For one specific case I would like to render the form as a part of(for in-place editing). Is there a way in formtastic to disable the layout generated by .inputs / .buttons? Instead a[详细]
2023-01-22 16:48 分类:问答accepts_nested_attributes_for in combination with formtastic and paperclip
I am trying I have a simple one-to-many association. I am trying to update photos that belong to an album through a nested form:[详细]
2023-01-22 08:42 分类:问答Assigning a nested attribute with Formtastic
I\'ve been trying to figure this one out for a while but still no luck. I have a company_relationships table that joins Companies and People, storing an extra field to describe the nature of the relat[详细]
2023-01-22 07:09 分类:问答Accessing objects in semantic_fieds_for loop / formtastic
Model has accepts_nested_attributes_for for the relation and the form is as follows: = semantic_form_for @obj, :url => path do |f|开发者_运维百科[详细]
2023-01-20 18:44 分类:问答Why does my Rails FormHelper (Formtastic) not display booleans correctly?
I am using Formtastic and I have a simple boolean field.In开发者_StackOverflow my view, I have <%= f.input :active, :label => \"Enabled?\", :as => :select, :include_blank => false, :colle[详细]
2023-01-18 17:19 分类:问答Accessing object of form in formtastic
So I\'m making a survey app. The users choose a type of form on the backend, and it displays as a certain type on the front end. That\'s only ideally, of course. What happens now is I can\'t access th[详细]
2023-01-18 04:15 分类:问答Upgrade to Rails3 from Rails3.rc2, and forms are blank
Using ruby 1.9.2 if I change gem \'rails\', \'3.0.0.rc2\' to gem \'rails\', \'3.0.0\' None of my forms render.[详细]
2023-01-16 23:42 分类:问答Using Formtastic's semantic_fields_for with a has_many association
I am trying to create a nested form using formtastic.I\'ve included my code below but am running into some problems that I\'ve also listed below.Any suggestions?Thanks.[详细]
2023-01-16 05:14 分类:问答How to properly pass collection for input in Formtastic
I need to pass a collection to the standard select input in Formtastic: f.input :apple, :as => :select, :collection => Apple.all[详细]
2023-01-15 08:00 分类:问答Cutsom Input for formtastic, what am i doing wrong?
I have made a custom input method for formtastic, it is d开发者_StackOverflowesigned to work with carrierwave and it works great but with one exception, the preview image and other html will not rende[详细]
2023-01-13 03:23 分类:问答