Permalink
Commits on May 2, 2012
  1. Bump version to 0.7.0

    jeremyevans committed May 2, 2012
  2. Fix Rails integration with fieldset_ol inputs wrapper

    jeremyevans committed May 2, 2012
    This is a quick hack to work around the problem.  A more general
    fix may come later.
  3. Fix use of inputs with block in Rails integration

    jeremyevans committed May 2, 2012
    Add tests for this case to both the sinatra and rails integration.
  4. Support :label_position option in both of the labelers, can be set to…

    jeremyevans committed May 2, 2012
    … :before or :after to override the default
  5. Add Rails integration

    jeremyevans committed May 2, 2012
    This is cleaner in some ways than the Sinatra integration, as
    Rails templates hack ERB to allow <%= to be used with blocks,
    and Rails already has code that allows you to switch output
    buffers.  It still is fairly clunky in regards to what gets
    emitted versus what gets returned, but it does pass the same
    specs as the sinatra support.
  6. Bump copyright year

    jeremyevans committed May 2, 2012
Commits on May 1, 2012
  1. Recognize :size and :maxlength options as attributes for text inputs …

    jeremyevans committed May 1, 2012
    …in the default formatter
  2. Join attribute values specified as arrays with spaces instead of the …

    jeremyevans committed May 1, 2012
    …empty string
    
    This mostly comes up when doing something like :class=>[:foo, :bar]
  3. Make Sinatra ERB integration work with Sequel subforms

    jeremyevans committed May 1, 2012
    Unfortunately, there's not a clean way to implement this inside
    the Sinatra integration.
  4. Handle forms used in partials where template output is injected and a…

    jeremyevans committed May 1, 2012
    … block is not used
    
    Basically, if a block is not used, capture to a string and return
    that string.  This makes it so using <% does not inject into the
    template if a block is not used.
Commits on Apr 30, 2012
Commits on Apr 27, 2012
  1. Revert "initialize output blank / generalize helper module name"

    jeremyevans committed Apr 27, 2012
    This reverts commit 755623a.
    
    Other template handlers don't put the compiled code in @_out_buf,
    so they probably don't work.
  2. Don't require the Sequel core extensions in the specs

    jeremyevans committed Apr 27, 2012
    The library doesn't currently use the core extensions, so this
    is just to ensure that they aren't used accidently in the future.
Commits on Apr 6, 2012
Commits on Jan 27, 2012
  1. .dup version string

    jamiehodge committed Jan 27, 2012
Commits on Oct 25, 2011
Commits on Sep 1, 2011
Commits on Aug 26, 2011
  1. Add an html class attribute for radio/checkbox labels in :as=>:radio …

    jeremyevans committed Aug 26, 2011
    …or :as=>:checkbox fields
  2. Wrap text acting as a label in a span with class label for :as=>:radi…

    jeremyevans committed Aug 26, 2011
    …o or :as=>:checkbox fields
Commits on Aug 25, 2011
  1. Support overriding the true/false label and values for select boolean…

    jeremyevans committed Aug 25, 2011
    … fields in the Sequel plugin
Commits on Aug 1, 2011
  1. Bump version to 0.6.0

    jeremyevans committed Aug 1, 2011
Commits on Jul 14, 2011
  1. Fix wrapping for :as=>:radio boolean fields to handle them like assoc…

    jeremyevans committed Jul 14, 2011
    …iation :as=>:radio fields
  2. Fix handling of Raw :label option in for association fields with :as=…

    jeremyevans committed Jul 14, 2011
    …>:radio and :as=>:checkbox in the Sequel plugin
  3. Support overriding the true/false label and values for :as=>:radio bo…

    jeremyevans committed Jul 14, 2011
    …olean fields in the Sequel plugin
  4. Add the label before the error option, so the error always comes afte…

    jeremyevans committed Jul 14, 2011
    …r the label
    
    Before, the default implicit labeler had the error inside the label,
    which is probably a bad idea.  Also, for checkbox/radio button
    inputs, the error text would come between the input and label,
    which was confusing.
  5. Always add error class to formatted input tag, regardless of error_ha…

    jeremyevans committed Jul 14, 2011
    …ndler
    
    This is needed so that formatted inputs that return multiple tags
    can have the tags marked correctly, without scanning the array.
  6. Unify handling of non-schema columns in the Sequel plugin

    jeremyevans committed Jul 14, 2011
    There is no need to treat these separately, and it simplifies the
    code while allowing more ability for customization.  Also fixes
    the issue where labels were not being used for fields the object
    did not respond to.