<commit_before># InPlaceEditWithDatepicker

TODO: Write a gem description

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'in_place_edit_with_datepicker'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install in_place_edit_with_datepicker

## Setup

Add the following lines in your application.js in this sequence

//= require jquery
//= require jquery_ujs
//= require jquery-ui
//= require jquery-ui-timepicker-addon
//= require jquery.purr
//= require best_in_place
//= require best_in_place_datetime
//= require turbolinks
//= require_tree .

Add the following to your application.css in this sequence

 *= jquery-ui-timepicker-addon
 *= require_tree .
 *= require_self
 */

Download the following files:
1) http://trentrichardson.com/examples/timepicker/jquery-ui-timepicker-addon.css and save to assets/stylesheets
2) http://trentrichardson.com/examples/timepicker/jquery-ui-timepicker-addon.js and save to assets/javascripts

## Usage

The gem works exactly as the best_in_place gem, say for eg:

<%= best_in_place @user, :name %>

For type datetime, 

<%= best_in_place @user, :date_of_birth, as: :datetime %>

## Contributing

1. Fork it ( https://github.com/[my-github-username]/in_place_edit_with_datepicker/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request
<commit_msg>Indentation added<commit_after># InPlaceEditWithDatepicker

TODO: Write a gem description

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'in_place_edit_with_datepicker'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install in_place_edit_with_datepicker

## Setup

Add the following lines in your application.js in this sequence
```ruby
    //= require jquery
    //= require jquery_ujs
    //= require jquery-ui
    //= require jquery-ui-timepicker-addon
    //= require jquery.purr
    //= require best_in_place
    //= require best_in_place_datetime
    //= require turbolinks
    //= require_tree .
```
Add the following to your application.css in this sequence
```ruby
    *= jquery-ui-timepicker-addon
    *= require_tree .
    *= require_self
    */
```
Download the following files:
1) http://trentrichardson.com/examples/timepicker/jquery-ui-timepicker-addon.css and save to assets/stylesheets
2) http://trentrichardson.com/examples/timepicker/jquery-ui-timepicker-addon.js and save to assets/javascripts

## Usage

The gem works exactly as the best_in_place gem, say for eg:
```ruby
    <%= best_in_place @user, :name %>
```
For type datetime, 
```ruby
    <%= best_in_place @user, :date_of_birth, as: :datetime %>
```
## Contributing

1. Fork it ( https://github.com/[my-github-username]/in_place_edit_with_datepicker/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

{'fraction_non_alphanumeric': 0.11118251928020566, 'fraction_numerical': 0.004498714652956298, 'mean_word_length': 4.004823151125402, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '33723', 'n_tokens_mistral': 1049, 'n_tokens_neox': 970, 'n_words': 301}