formtastic
Rails Active Admin datetime input does not load the current date and time?
Is there any option for formtastic in Active Admin, for the showing current datetime in datetime input. It\'s coming with bla开发者_JS百科nk on the form load.There is no direct way to do this. However[详细]
2023-04-05 23:32 分类:问答Autocomplete for Formtastic
I have been looking at a way to add autocomplete functionality to a formtastic form and came across the crowdint / rails3-jquery-autocomplete but I haven\'t be able to get the latest version(0.9.1) to[详细]
2023-04-05 11:29 分类:问答Nested form not working with has_many
I\'ve got a model Order class Order < ActiveRecord::Base has_many :order_details, :class_name => \"OrderDetail\"[详细]
2023-04-03 23:16 分类:问答Using Rails and Formtastic to make a dynamic form
I am trying to make a very simple dynamic form.I am using Rails 3.1 and formtastic.Basically, I want to change a couple of fields based on a radio button.[详细]
2023-04-02 21:39 分类:问答Adding a background image or an image tag to Formtastic radio buttons with a collection
I have this formtastic field in a form where an user input his credit card data: <%= form.input :credit_card_type, :as => :radio, :collection => User.credit_card_types %>开发者_运维百科[详细]
2023-04-02 04:20 分类:问答Customize formtastic to add an <a> in some list elements
I have a requirement to add some expanding panels in my formtastic forms, so when a user clicks the \'+\', a hidden panel shows itself and gives more information about the field.[详细]
2023-04-01 18:58 分类:问答Formtastic Collection Sorting
I need to sort a collection for formtastic by their state, wether they are selected or not. My setup looks similar to the following[详细]
2023-04-01 09:03 分类:问答ActiveAdmin with has_many problem; undefined method 'new_record?'
I\'m trying to customise a ActiveAdmin form for a Recipe model that has a has_many relationship with Step.[详细]
2023-03-30 20:12 分类:问答Formtastic and base errors
In the Formtastic docs, it talks about adding a line for base errors: <开发者_如何学Go%= semantic_form_for @record do |form| %>[详细]
2023-03-29 20:57 分类:问答Simple_form or formtastic: which one to choose?
I\'ve been spending some hours searching for useful Rails gems but I still hesitate between simple_form and formtastic.[详细]
2023-03-29 16:02 分类:问答
加载中,请稍侯......