1
0
Fork 0
mirror of https://github.com/heartcombo/simple_form.git synced 2022-11-09 12:19:26 -05:00
Commit graph

19 commits

Author SHA1 Message Date
Carlos Antonio da Silva
3669bce6cf Rename *CollectionInput to *CollectionSelectInput 2012-01-26 17:00:56 -02:00
Carlos Antonio da Silva
ec10a9669e Collection radio / check boxes respect :nested boolean style config 2012-01-26 16:17:12 -02:00
Carlos Antonio da Silva
ed43005eb3 Move SimpleForm configs from AV helpers to collection input
SimpleForm configs should not belong to helpers that are mixed into
ActionView, they should be used internally and passed to these helpers
as options instead. This keeps the helpers simpler and will allows
further improvements.
2012-01-26 15:00:00 -02:00
Carlos Antonio da Silva
684d50d9f4 Move test to a better place 2012-01-26 11:54:04 -02:00
Carlos Antonio da Silva
68b9f6c098 Fix tests with latest changes using :defaults in translation
Also expand tests to check for :defaults and specific object name
namespace for translations, and add check boxes tests.
2012-01-24 15:04:37 -02:00
Carlos Antonio da Silva
b4e297f98c Merge branch 'master' of https://github.com/klobuczek/simple_form into klobuczek-master
Conflicts:
	Gemfile
	README.md
	lib/simple_form/inputs/base.rb
	lib/simple_form/inputs/collection_input.rb
	test/support/models.rb
2012-01-24 14:52:00 -02:00
José Valim
d245019220 Only add required if browser_validations is enabled. 2011-12-05 13:11:02 +01:00
José Valim
d3ddd2a601 Update generated template. 2011-12-04 16:21:10 +01:00
José Valim
4391685bfd Make html5 a wrapper option. 2011-12-04 16:15:32 +01:00
José Valim
5db9750ef3 Bring browser_validations back. 2011-12-04 15:59:04 +01:00
José Valim
5ee02bdd2c Make required a component. 2011-12-04 13:03:09 +01:00
Rafael Mendonça França
46e373a3ce Fix test to fit the described case 2011-12-03 00:39:47 -02:00
Vasiliy Ermolovich
2069b30b10 select can have required option, closes #340 2011-12-01 21:40:01 +03:00
Jeff Kreeftmeijer
0824802cb1 Add Proc support to CollectionInput 2011-10-26 17:28:15 +02:00
Heinrich Klobuczek
f6fbaf2d9c Merge remote branch 'upstream/master'
Conflicts:
	README.md
	test/inputs_test.rb
2011-10-04 02:07:40 +02:00
Carlos Antonio da Silva
42307c1f3f Do not override attribute value selection in collection select. Closes #325
Conflicts:

	test/inputs_test.rb
2011-09-15 20:20:46 -03:00
José Valim
c74243aca6 Revert "Browser validations should not affect required."
This reverts commit 85b70152eaa2ab5a163d9fe307f5433d37771397.
2011-09-08 16:04:36 +02:00
José Valim
93bcf58b61 Browser validations should not affect required. 2011-09-08 16:04:36 +02:00
José Valim
cc72315703 Break inputs_test.rb into many files as well. 2011-09-08 16:04:36 +02:00