I have a two part question:

1) How do I change the timedate field so that it is a label only? I am
using these fields only as a timestamp on update, so I do not want
them to be editable.

2) Where in the sets of documentation is this discussed?

I tried creating a helper function per the ActiveScaffold Field
Override docs, but this only gets me so far.

If I change the date_select to label, then the actual date is not
printed out.

I just want the date stamp string.

module IdeasHelper
  def date_time_form_column(idea, input_name)
    # with date_select we can use :name
    date_select :idea, :date_time, :name => input_name


  end
end

Thanks,
Tom S.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

  • Ov... bentaisan
    • ... bentaisan
      • ... bentaisan
        • ... G. Sobrinho
    • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
      • ... bentaisan
        • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.

Reply via email to