Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Add some options in select_hour helper

#1674

This patch add some options in select_hour helper.

Options add :

:hour_step => Define a step in each hour :hour_start => Define the hour of start :hour_end => Define the hour of end

Reported by Cyril Mougel · December 31st, 2008 @ 03:20 PM

State: wontfix
Milestone: 2.x
Assigned to: Pratik Pratik
Importance: none

Activity

  1. ronin-42342 (at lighthouseapp)
    ronin-42342 (at lighthouseapp)
    • Tag changed from actionpack, datehelper, enhancement, helper, options, select_hour to actionpack, datehelper, enhancement, helper, options, patch, select_hour

    :hour_start and :hour_end are exactly what I needed, that's cool !

    January 2nd, 2009 @ 02:15 PM

  2. Pratik
    Pratik
    • State changed from new to wontfix
    • Assigned user set to Pratik

    Not so keen on making the API more complex. You should just override the helper in question and call super. Does that work ?

    March 13th, 2009 @ 10:34 AM