search for: i_amount

Displaying 1 result from an estimated 1 matches for "i_amount".

Did you mean: amount
2006 Mar 09
1
[TIP] Making an intelligent form fields
...field "54,20 EUR" is perfectly acceptable. And there can be objects for entering date like "+3 days" and so on. The mechanizm for "i_attributes" can be enhanced similiary as Date is expanded into form fields. So for example we can have aggregation composed_of :i_amount, :class_name => ''Amount'', :map => [%w(a_count count), %w(a_units units)] And then helper used like amount_field ''order_item'', ''i_amount'' which renders to one text field and one select box such as: <input type...