On Viernes, 13 de enero de 2012 07:15:24 Adam Spiers escribió:
> Hi all,
> 
> I have a 'duration' field in one of my models representing a time duration.
> The MySQL column type is TIME; however when editing via the #edit action,
> ActiveScaffold shows it in this format:
> 
>   0000-00-00 04:00:00
> 
> How can I make it more human readable? I couldn't find anything relating to
> time fields in the ActiveScaffold wiki.
> 
> Ideally it would also have friendlier widget for changing the duration
> (e.g. a JQueryUI slider snapping to 30 minute increments)
> 
> Thanks,
> Adam

You will have to create a form override, or form_ui helper method.

If you submit it I could add it to ActiveScaffold

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