<commit_before>FormtasticJquids
================

Based off of <NAME>'s FormtasticCalendarDateSelect
(https://github.com/dyohi/formtastic_calendar_date_select), this gem is ment to
add the jquids (https://github.com/NickLaMuro/jquids) jQueryUI datepicker to
the formtastic framework.


Installation
------------

###1.  Install the gem

    $ gem install formtastic_jquids

###2.  Add it to your application

This gem assumes that you have both the formtastic and jquids gems installed.

####Rails 2:

In config/environment.rb:

    config.gem "formtastic"
    config.gem "jquids"
    config.gem "formtastic_jquids"

####Rails 3:

In your Gemfile:

    gem "formtastic"
    gem "jquids"
    gem "formtastic_jquids"


Usage
-----

Where ever there is a field that needs to have a jquids datepicker, just a `:as => :jquids`:

    <% semantic_form_for @task do |form| %>
      <% form.inputs do %>
        <%= form.input :due_date, :as => :calendardateselect %>
      <% end %>
    <% end %><commit_msg>Updated the README<commit_after>FormtasticJquids
================

Based off of <NAME>'s FormtasticCalendarDateSelect
(https://github.com/dyohi/formtastic_calendar_date_select), this gem is ment to
add the jquids (https://github.com/NickLaMuro/jquids) jQueryUI datepicker to
the formtastic framework.


Installation
------------

###1.  Install the gem

    $ gem install formtastic_jquids

###2.  Add it to your application

This gem assumes that you have both the formtastic and jquids gems installed.

####Rails 2:

In config/environment.rb:

```ruby
config.gem "formtastic"
config.gem "jquids"
config.gem "formtastic_jquids"
```

####Rails 3:

In your Gemfile:

```ruby
gem "formtastic"
gem "jquids"
gem "formtastic_jquids"
```

**NOTE**:  Order in your gemfile **DOES** matter.  If you call if before either
of the other two plugins, the server will not start (something that will be
looked into for future releases).


Usage
-----

Where ever there is a field that needs to have a jquids datepicker, just a `:as => :jquids`:

```erb
<% semantic_form_for @task do |form| %>
  <% form.inputs do %>
    <%= form.input :due_date, :as => :calendardateselect %>
  <% end %>
<% end %>
```
{'fraction_non_alphanumeric': 0.1390032007315958, 'fraction_numerical': 0.003657978966620942, 'mean_word_length': 3.777292576419214, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 19, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1106163', 'n_tokens_mistral': 777, 'n_tokens_neox': 727, 'n_words': 237}