Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Nov 12, 2013
  1. @rafaelfranca
  2. @rafaelfranca
  3. @rafaelfranca

    Merge pull request #622 from stephenprater/classes_on_use

    rafaelfranca authored
    add html classes to inputs with the wrappers API
Commits on Nov 9, 2013
  1. @stephenprater

    Actually TEST the behavior thought to to be tested in the #c02f95

    stephenprater authored
      also, fix the behavior by making sure that wrapper options passed to a
      particular input override the options passed to the original builder in
      `SimpleForm::Inputs::Base#html_options_for` - this might be an existing
      bug exposed by this test since changing the code in this manner causes
      no test failures - and at least the behavior is now codified in a test
  2. @stephenprater

    fix the use case of switching wrappers on a per input basis

    stephenprater authored
      modified a test to cover this case and changed it to no longer
      memoize the input / label_html options hash. There's no big performance
      hit to doing so and it keeps the per input wrapper switching
      implementation clean
  3. @stephenprater

    add html classes to inputs with the wrappers API

    Stephen Prater authored stephenprater committed
    enable a user to add classes or other html attributes to inputs,
    labels, and custome components using the wrappers API.
    
       b.use :input, :class => ['cool'], :id => 'whatever' }
    
    A custom component which wants to support this functionality
    should look in `options[:#{namespace}_html]` for the html
    options to use.
    
    An ArgumentError is raised if an html attribue is passed to any
    component in `SimpleForm::FormBuilder::ATTRIBUTE_COMPONENTS` but
    otherwise no validation is done - so it's possible to pass invalid
    attributes to any tag generating component.
Commits on Nov 8, 2013
  1. @lucasmazza

    Update Bootstrap references URLs and name

    lucasmazza authored
    For what is worth we are still supporting v2, so its worth to
    keep this up to date.
    
    Closes #925.
  2. @rafaelfranca

    Merge pull request #924 from Florent2/patch-1

    rafaelfranca authored
    Remove blank lines at EOF
  3. Remove blank lines at EOF

    Florent Guilleux authored
Commits on Nov 6, 2013
  1. @carlosantoniodasilva
Commits on Nov 3, 2013
  1. @nashby

    Merge pull request #920 from plataformatec/issue-919

    nashby authored
    collection input generates `required` attribute if it has `prompt` option
  2. @nashby
Commits on Oct 16, 2013
  1. @rafaelfranca

    Merge pull request #911 from deivid-rodriguez/fix_table_in_readme

    rafaelfranca authored
    Fix table in README to actually render beautifully
  2. @deivid-rodriguez
  3. @rafaelfranca
  4. @deivid-rodriguez
  5. @deivid-rodriguez
  6. @deivid-rodriguez
  7. @deivid-rodriguez
Commits on Sep 25, 2013
  1. @rafaelfranca

    Merge pull request #893 from morenoh149/master

    rafaelfranca authored
    Added a note on custom inputs
  2. @morenoh149

    Added a note on custom inputs

    morenoh149 authored
    added a note saying you may have to create the directory `apps/inputs/` and restart the webserver. I was stumped for a while on this.
Commits on Sep 21, 2013
  1. @rafaelfranca

    Release 3.0.0

    rafaelfranca authored
    This version contains the Rails 4 support :star2: and drops Rails 3.2.x support
    and Ruby 1.8 :collision:
    
    :green_heart::yellow_heart::heart::purple_heart::blue_heart:
  2. @rafaelfranca
  3. @rafaelfranca

    Wrap the README [ci skip]

    rafaelfranca authored
Commits on Sep 4, 2013
  1. @nashby

    Merge pull request #870 from ZenCocoon/patch-1

    nashby authored
    Fix typo [ci skip]
  2. @ZenCocoon

    Fix typo

    ZenCocoon authored
Commits on Aug 16, 2013
  1. @carlosantoniodasilva

    Ensure to generate input_class only for the input, not for the wrapper

    carlosantoniodasilva authored
    Thanks @ollym for catching this one. Related to #337.
Commits on Aug 14, 2013
  1. @rafaelfranca

    Merge pull request #337 from plataformatec/input_class

    rafaelfranca authored
    Add configuration to add class globally to inputs.
    
    Closes #857
  2. @rafaelfranca
Commits on Aug 1, 2013
  1. @nashby
Commits on Jul 22, 2013
  1. @nashby

    Merge pull request #827 from plataformatec/issue-826

    nashby authored
    collection tags accept html attributes as the last element of collection
  2. @nashby
  3. @rafaelfranca

    Merge pull request #852 from thiagofm/patch-2

    rafaelfranca authored
    Fixed typo
  4. @thiagofm

    Fixed typo

    thiagofm authored
Commits on Jul 18, 2013
  1. @carlosantoniodasilva
Something went wrong with that request. Please try again.