Skip to content
A Rails plugin for In Place Time Editing based on Maxime Haineault JQuery Timepickr
JavaScript Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
public
.gitignore
LICENSE
README
Rakefile
in_place_jquery_timepickr.png
init.rb
install.rb

README

InPlaceJQueryTimepickr
======================
Simple 2-click in place editing time picker and regular time
picker using jquery.timepickr (v0.6.3) and JQuery (v1.3.1)

See http://haineault.com/media/jquery/ui-timepickr/page/ and
    http://code.google.com/p/jquery-utils/

Example:

  # Controller
  class EventController < ApplicationController
    in_place_timepickr_for :event, :start_time
  end

  # View
  <%= in_place_timepickr :event, :start_time %>

  # In a form in a View
  <%= f.timepickr :start_time %>

  # Layout
  <%= javascript_include_tag :defaults %>
  <%= javascript_include_tag :in_place_jquery_timepickr %>
  <%= stylesheet_link_tag :in_place_jquery_timepickr %>

Noted: The generated setters only modify time portion of a value. If using with
other editing (or in place editing) care must taken not to override time when
attempting to only set the date

Copyright (c) 2009 Brian Sam-Bodden <bsbodden@integrallis.com> (Rails Integration)
Copyright (c) 2009 Maxime Haineault <haineault@gmail.com> (JavaScript JQuery Widget)

Released under the MIT license, MIT License (http://www.opensource.org/licenses/mit-license.php
Something went wrong with that request. Please try again.