formtastic
Image file input with Formtastic and ActiveAdmin
I started to use formstatic but I need to make a file field with image preview. I mean, when i edit an object, i want to see the image already lin开发者_运维知识库ked.[详细]
2023-03-28 06:35 分类:问答Iterate Form fields
I have build a module to add translations for each standard topic. Theses topic got many standard options and you can translate it directly in page.[详细]
2023-03-26 23:43 分类:问答Adding a custom input field in formtastic?
I can\'t figure out, or find any solutions to a very simple question: \"How can I define my own input field in formtastic?\"[详细]
2023-03-23 17:32 分类:问答problem with using form / formtastic on 2 objects
I am really having problems getting this thing done. I have a model appointment and a model appointment_block. The appointment_blocks table saves a start and end time as datetime. I am using a method[详细]
2023-03-23 03:19 分类:问答Formtastic label_method
Can you use two values in a Formtastic label_method? This: <%= f.input :isbn_id, :label_method => :name, :as => :select, :collection => Isbn.order(\"name ASC\").where(:client_id => c[详细]
2023-03-22 23:00 分类:问答Formtastic Collection Select Dropdown
When using formtastic in my rails3 application, I can\'t get the dropdown menus to work. Instead they appear as a selection list.[详细]
2023-03-19 03:28 分类:问答accepts_nested_attribute_for and multiple edits
Following on from this answer, I am having a spot of bother with accepts_nested_attributes_for. First things first, this is my error code:[详细]
2023-03-19 01:18 分类:问答rails Formtastic routing issue
I am trying to setup a simple form using formtastic but running into a routing error when trying to save the form. I get the following error mes开发者_如何学Pythonsage. Let me know if you need any fur[详细]
2023-03-17 14:43 分类:问答In Rails/Formtastic how do I restrict hours in the time input field
I have a requirement to display duration as HH:MM in Railsas two select boxes one for hours and other for minutes. Restrict the hours to max of 4:00. \'duration\'(column type:integer) is stored as min[详细]
2023-03-16 11:44 分类:问答Help with Formtastic
First of all I\'m no native speaker and just begun with rails three days ago. Sorry for my mistakes. Formtastic is driving me crazy. I have three tables: user, note, receiver:[详细]
2023-03-16 09:14 分类:问答