I want to apply a :default and a :minute_step attribute to a <input
for='datetime'>.

The hobo manual says that other attributes than order are passed
directly through the datetime_select, but i can't seem to figure out
exactly what that means.

I've tried to do the following:

<input order="day, month, year" default="&1.hour.from_now" minute-
step="&15"/>

I initially got some errors with the minute_step, but passing the
number as a ruby variable solved that problem. But i still can't get
the default value to show correctly.

The manual says "The menus default to the current time if the current
value is nil.", but how can i set that current value?

// MIkkel WF

--

You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en.


Reply via email to