Skip to content
This repository

Jul 27, 2010

  1. Justin French

    :as => :time will now exclude the three hidden inputs for year, month…

    … and day if the :ignore_date option is true, just like in Rails' time_select, resolving GH-308.
  2. Brian Landau

    Fix for "inputs_for_nested_attributes" returning out of the proc on h…

    …as_many associated nested models.
    brianjlandau authored committed

Jul 14, 2010

  1. Mihai Târnovan

    * changed with_custom_field_error_proc to use ensure for restoring de…

    …fault field_error_proc and to store it in a local variable instead of in a class variable (nested calls were problematic due to the globalness of class variables)
    mtarnovan authored

Jul 13, 2010

  1. Morton Jonuschat

    Ensure :value_method gets used for collections of arrays

    yabawock authored
  2. Morton Jonuschat

    Always use supplied label_method for collection (GH-301)

    yabawock authored

Jul 12, 2010

  1. Morton Jonuschat

    More intelligent way to html_escape labels and hints (GH-299)

    This commit won't escape html entities in strings marked as html_safe according to newer rails versions.
    Additionally you can now turn html escaping off by setting
    Formtastic::SemanticFormBuilder.escape_html_entities_in_hints_and_labels = false
    yabawock authored

Jul 01, 2010

  1. Morton Jonuschat

    HTML-escape the label strings (GH-292)

    yabawock authored
  2. Morton Jonuschat

    Check that reflection information is accessible before querying the

    object for it (GH-286)
    yabawock authored

Jun 30, 2010

  1. D. Oosterveld

    Fixes: 293 Hint lookup fails when an attribute and model have the sam…

    …e name
    Added fix in inline_hints_for to see a hash as a blank entry.
    Added spec to test this failure.
    dusdanig authored yabawock committed

Jun 24, 2010

  1. Mattias Pfeiffer

    Made :check_boxes and :radio accept :label as label value

    pfeiffer authored committed

Jun 09, 2010

  1. Morton Jonuschat

    Make commit 9593e4b html_safe (Closes GH-281)

    yabawock authored

Jun 07, 2010

  1. Justin French

    Changed radio_input and check_boxes_input to no longer uses field_set…

    …_wrapping_for_method() [which was designed for use with labels that have a mapping to actual inputs]. Instead, I've hard-coded the desired markup into the method. Less DRY, but decoupled.
    As a result, we now have control over things like the label(), which no longer contains a `for` attribute for an input that doesn't exist, resolving #253.

Jun 06, 2010

  1. Justin French

    :input_html can now specify a :size option of nil, resolving #267 wit…

    …h many thanks to indrekj for the patch.
  2. Justin French

    added find_options to the list of options that should be stripped fro…

    …m HTML options, resolving #262

May 26, 2010

  1. Justin French

    Reverting two i18n patches pulled in from the rails3 branch which are…

    … not compatible with Rails 2.3.x.
    Specs pass without deprecation warnings, and the relevant commits in Rails (13867a3 and 9bd91b0) seem to be in master, but not in the v2.3.8 branch.
    Revert "i18n fix: "The {{key}} interpolation syntax in I18n messages is deprecated. Please use %{key} instead.""
    This reverts commit .
    Revert "i18n fix II: "The {{key}} interpolation syntax in I18n messages is deprecated. Please use %{key} instead.""
    This reverts commit 49b45f6.

May 24, 2010

  1. Hans Petter Wilhelmsen

    i18n fix: "The {{key}} interpolation syntax in I18n messages is depre…

    …cated. Please use %{key} instead."
    HP authored yabawock committed
  2. Toni Tuominen

    Translations for nested models.

    tjtuom authored yabawock committed

May 23, 2010

  1. Morton Jonuschat

    Fix html escaping of ´required´ string

    yabawock authored
  2. Gabriel Sobrinho

    Boolean inputs not properly html safe again. Closes #241

    sobrinho authored yabawock committed
  3. Morton Jonuschat

    Make inputs_for_nested_attributes return strings

    yabawock authored
  4. Morton Jonuschat

    Mark formtastic outputs as html_safe

    Formtastic::Util.html_safe() checks the available environment and marks a string as html_safe appropriately
    yabawock authored

May 03, 2010

  1. Justin French

    An input without an :as option will only route to country_input if th…

    …e method name is /country$/ not /country/ (which is too greedy). Resolves #260

Apr 24, 2010

  1. Gabriel Sobrinho

    find_raw_collection_for_column should honour the association's condit…

    Closes #61
    sobrinho authored

Apr 22, 2010

  1. Justin French

    belongs_to associations will now render errors attached to the associ…

    …ation and the column (fixes issue #161)
    * previously f.input(:section) would only look to errors[:section]
    * so anything in errors[:section_id] would not be displayed
    * some associations like validates_uniqueness_of need to be done on the column name
    * Formtastic will now also look at errors[:section_id] (or whatever the foreign key is named)
    * we squish all the errors together, make sure they're unique and display them all with the input

Apr 18, 2010

  1. Justin French

    Changed the behaviour of date/time selects when the object attribute …

    …has a nil value.
    It used to default to, but since :selected is deprecated you can no longer overrise the to nil, so we must default to nil instead. Closes issue #240.

Apr 12, 2010

  1. Justin French

    Reverting class_name additions for belongs_to associations in f26248f

    …and fe5db0d, as they seemed to optimise for a use case which isn't consistent with Rails' behaviour and most common use case.
    See issue 236 for more information, patch welcome that caters to both scenarios adequately.
    This reverts commit 6d6f08970f3f5599ee90071885a69d630 and 02a7f797378a2b7415c5ba82bc6007bfe.
    Revert "spec for 'class_name' option on 'belongs_to' associations"
    Revert "fix select input for 'has_many :foos, :class_name => 'FooBar'"

Apr 11, 2010

  1. Dallas Reedy

    added the :disabled option to #check_boxes_input

    dallas authored committed

Mar 31, 2010

  1. Justin French

    Revert "added currency select input"

    This reverts commit 4c9dd06.

Mar 29, 2010

  1. Nicky Peeters

    don't show hints on hidden inputs

    nickyp authored committed

Mar 13, 2010

  1. Martin Moen Wulffeld

    Fix time_input :include_seconds => true.

    wulffeld authored committed
  2. Justin French

    Since we're not planning on support :default going forward, it doesn'…

    …t make sense to temporarily push people to migrate over to :default. Instead, the next release will just have a different (better) implementation of :selected.
  3. Justin French

    added a deprecation warning for :selected/:checked/:default -- they'l…

    …l be gone in 1.0 in favor of after_initialize or controller set-ups

Mar 01, 2010

  1. Tim Harper

    make eval'ed code's line-numbers line up

    It just makes debugging easier this way.
    timcharper authored committed
  2. Karst Hammer

    Added comments to date/time/datetime_input methods to explain :labels…

    … option
    karsthammer authored committed
  3. Karst Hammer

    Added labels option to date/time/datetime fields. Specs are included

    karsthammer authored committed
Something went wrong with that request. Please try again.