formtastic
Rails: How to use select in formtastic with activeRecord
I\'m new to rails and I guess you can answer this question easily. What I got so far is = f.input :task, :as => :select, :collection => @tasks, :include_blank => true[详细]
2023-01-11 19:00 分类:问答Using Formtastic to select from a radio set and optionally create a new record
I\'ve begun using Formtastic in the last couple days and have come to my first head-scratcher. I\'m working with items that each have a few associated accounts.On the page in question you need to sel[详细]
2023-01-09 06:37 分类:问答Custom Formtastic Control with Multiple Parameters
I\'m attempting to build a custom control for Formtastic that takes a latitude and a longitude, however, I\'m not sure how to go about passing the method names through. Ideally I\'d have the following[详细]
2023-01-08 17:18 分类:问答Formtastic + nested categories
I have an article model and an category model. Category act as tree. What is the best approch to build a select list to allow the adm开发者_如何转开发inistrator to select an category from a select li[详细]
2023-01-02 23:51 分类:问答Formtastic, pre-modification of symbol
I have in开发者_运维技巧put/select on Formtastic form f.input :some_model_values, :as => :select[详细]
2023-01-01 21:10 分类:问答Rails — Formtastic, how to set text for options in select?
f.input :some_model_values, :as => :select Using Formtastic, I need to set a text for options on my select input, but not populated from :some_model_开发者_运维知识库values.[详细]
2023-01-01 20:01 分类:问答formtastic - :string field value as Array and not found-s
is there any possibility to send from formtastic form value of :string field like - semantic_form_for :project do |form|[详细]
2023-01-01 03:07 分类:问答formtastic weird month name display
i\'m using formtastic, all is ok, but strange thing - on = form.input :birthdate, :as => :date it renders to something like[详细]
2022-12-31 20:10 分类:问答has_many :through formtastic multi-select field
I\'m trying to set up a many to many relationship using the has_many :through method and then use a multi-select field to setup the relationships. I\'m following this tutorial:[详细]
2022-12-30 23:46 分类:问答How to pre-check checkboxes in formtastic
I have a form I\'m trying to set up ... Users can have many posts, and each post can have many people watching it.[详细]
2022-12-29 02:06 分类:问答