I would like to use formtastic instead of standard Rails 开发者_开发知识库helpers for my forms, however I currently submit them using Ajax (with remote_form_for). I suppose I could use the jQuery form
How I can add my own field types to formtastic ? For exemple, I need to have a custom datetime input, and I want something like this:
I have an Organization model that has_many users through affiliations. And, in the form of the organization ( the standard edit ) I use semanting_form_for and semantic_fields_for to display the organ
In my Rails project I\'m using Formtastic to manage my forms. I have a model, Tags, with a column, \"group\". The group column is just a simple hardcoded way to organize my tags. I will post my Tag mo
Imagine a simple model. class Service belongs_to :user validates_associated :user accepts_nested_attributes_for :user
I have a form that has a nested form like this: <%- for subscription in @task.subscriptions -%> <%- semantic_fields_for \"task[subscription_attributes][]\", subscriptiondo |subscription_form
I searched and tried a lot, but I can\'t accomplish it as I want.. so here\'s my problem. My models are:
I searched and tried a lot, but I can\'t accomplish it as I want.. so here\'s my problem. class Moving < ActiveRecord::Base
I\'m looking for a way to override the Fo开发者_JAVA技巧rmtastic plug-in in rails so that times are shown as a single drop-down with minutes represented in half hour increments. Instead of the two dro
Using formtastic, I have a quantity field and unit field that asks for the quantity of the item and the unit it\'s measured in.