Hi,

I have an issue whereby a form override for "amount" in one model, is
impacting the view of another model that has "amount" as an
attribute?   That is in the 2nd model it is showing up as read only
where it should not.

Know issue?  Anyway to work around this?

----------------------------------------
module BusinessItemHelper
  def amount_form_column(record, input_name)
    record.amount
  end
end
-----------------------------------
module AutomatchBusinessItemHelper
  # i.e. there is no "amount_form_column" specified here
  def automatch_bi_allocations_column(record)
    record.to_s_deep
  end
end
-----------------------------------------
==> In the AutomatchBusinessItem edit form, the amount field is just a
label, and not an edit box.  If I take out the amount_form_column
method in BusinessItemHelper it works.






--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to