Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Feb 28, 2015
Commits on Feb 27, 2015
  1. Respect existing :add_blank option when using select tags for boolean…

    authored
    … fields in the Sequel plugin
    
    This allows you to not have a blank option, or to change the text
    used for a blank option.
Commits on Feb 25, 2015
Commits on Feb 3, 2015
  1. Use type=datetime-local for datetime types

    authored
    datetime-local seems to have wider browser support, and some
    browsers have purposely dropped support for datetime.
Commits on Jan 27, 2015
Commits on Dec 29, 2014
  1. Jeremy Hinegardner

    spell github

    copiousfreetime authored
Commits on Dec 17, 2014
Commits on Dec 1, 2014
  1. tomclose
Commits on Nov 6, 2014
  1. Bump version to 1.2.0

    authored
  2. Support pg_array_to_many associations in the Sequel plugin, treating …

    authored
    …them similarly to other *_to_many associations
    
    These weren't supported before because Forme doesn't handle
    unrecognized association types.  The only code change is that
    the field used should be the :key option for the association,
    since that specifies the column containing the array of
    associated values.
  3. When using :grid option to subform in the Sequel plugin, :inputs_opts…

    authored
    … can be used to pass options to the InputsWrapper
    
    Previously, there was no way to pass explicit options to the
    InputsWrapper when using :grid, so you couldn't set specific
    classes on the table created.
  4. Make explicit labeler use label-before and label-after classes specif…

    authored
    …ying the label position
    
    Forme doesn't automatically add colons when using the explicit
    labeler, it assumes they will be added via a CSS :after content
    setting.  However, in general you'll only want to add colons if
    the label comes before the input, not after.  So this makes it
    easy to use the appropriate CSS selector to only add the colons
    where they should be added.
Commits on Sep 11, 2014
  1. Support :size option for select inputs

    authored
    This also makes sure the multiple attribute it used if the :multiple
    option is given, even if there are no options, which can be useful
    if the options are added dynamically.
Commits on Sep 8, 2014
  1. Bump version to 1.1.0

    authored
  2. Make form without a block in the ERB integration still use hidden tag…

    authored
    …s if method is post
    
    Previously, the hidden tags with the CSRF support would not be
    used if there wasn't a block given, but that's definitely not
    the desired behavior.
Commits on Sep 6, 2014
  1. Add Forme::RawString class and Forme.raw for creating raw strings, so…

    authored
    … you don't need to use extend(Forme::Raw)
    
    Code that requires Object#extend at runtime is really bad form,
    so add a string subclass that includes Forme::Raw to disable
    html escaping.
  2. Allow using nil as explicit transformer value when creating a Form, t…

    authored
    …o disable default transformer
    
    I believe this used to work, but there wasn't a spec for it.  I'm
    guessing the changes made between 0.9 and 0.10 broke it.
Commits on Aug 19, 2014
Commits on Jul 30, 2014
  1. Bump vesion to 1.0.0

    authored
  2. Add roda plugin

    authored
    This just makes it slightly easier for roda users, but it is good
    to get the same specs on roda and sinatra.
Commits on Jul 24, 2014
  1. Allow running specs without rails or sinatra installed

    authored
    Just warn if they aren't install, continue running other specs.
Commits on Jul 23, 2014
  1. Move forme/sinatra to forme/erb, since it is ERB and not Sinatra spec…

    authored
    …ific
    
    Still keep the forme/sinatra file for backwards compatibility.
Commits on Jul 8, 2014
  1. Do not extend objects at runtime when using the Sequel support

    authored
    This makes Forme::Form.new delegate to a subclass if there is an
    object given and that object implements forme_form_class.
  2. Add Form#raw_output method, for handling automatic html escaping

    authored
    This makes the Rails integration use this, which simplifies some
    of the Rails code and should make integration with other web
    frameworks with automatic html escaping easier.
Something went wrong with that request. Please try again.