Ram Dobson
|
b4a32f3664
|
move default attribute translations out of root
(#384)
- move simpleform.label.username to simpleform.label.defaults.username
- update README
- allow lookup of reflections on simpleform.label.defaults
Conflicts:
lib/simple_form/inputs/base.rb
test/components/label_test.rb
test/form_builder/hint_test.rb
|
2011-12-10 16:50:03 -05:00 |
|
José Valim
|
259640e4cb
|
Fix ambiguity in i18n lookup, closes #384.
|
2011-12-08 09:44:08 +01:00 |
|
José Valim
|
031e3324ca
|
Fix a bug where input class was propagating to the wrapper, closes #381
|
2011-12-05 19:03:41 +01:00 |
|
Marcelo Cajueiro
|
bfe2314901
|
Add test case to hint (i18n): a model should not be used as attribute in a hint;
|
2011-11-26 19:34:53 +03:00 |
|
Carlos Antonio da Silva
|
fce17e353d
|
Refactor tests a bit to reuse concat form helpers
|
2011-11-11 10:28:22 -02:00 |
|
George Guimarães
|
c04f719489
|
Implements defaults options for simple_form_for.
Closes #355
with help from @hugobarauna and @rafaelfranca
|
2011-11-10 10:12:19 -02:00 |
|
Rafael Mendonça França
|
b1708e241a
|
Add test to not use top-level wrapper. Closes #359
|
2011-11-09 20:02:59 -02:00 |
|
Fabio Yamate
|
b8939a17bf
|
Small clean up.
|
2011-09-27 00:59:06 -03:00 |
|
Fabio Yamate
|
f1b9d2dfc3
|
Force wrappers name as symbols.
|
2011-09-26 23:44:10 -03:00 |
|
Fabio Yamate
|
f8095800ec
|
Raise error when fails to find a given wrapper.
|
2011-09-26 23:44:10 -03:00 |
|
Alex Kwiatkowski & Peter Jaros
|
c88efe3c0c
|
Fallback to default label when block is provided
|
2011-09-15 12:02:02 -04:00 |
|
Cainã Costa
|
1e1a2bb73f
|
Add a configuration option to change the class of buttons. Closes #318
This changes the default behavior of having a fixed "button" class
on the buttons.
|
2011-09-11 23:18:53 -03:00 |
|
Rafael Mendonça França
|
8dc707a7c2
|
Add disabled class to disabled input
|
2011-09-11 18:46:47 -03:00 |
|
José Valim
|
b53cb5e21a
|
Add a test for directly passing the custom wrapper.
|
2011-09-08 16:04:37 +02:00 |
|
José Valim
|
1867275551
|
Provide named helpers.
|
2011-09-08 16:04:37 +02:00 |
|
José Valim
|
bf4d766fcb
|
config.components => config.wrappers
|
2011-09-08 16:04:37 +02:00 |
|
José Valim
|
da5e1d82be
|
Remove deprecated stuff and raise an exception if any of the old methods are used. Point to the wiki page with update instructions.
|
2011-09-08 16:04:36 +02:00 |
|
José Valim
|
f93a6be226
|
Add tests for custom wrappers.
|
2011-09-08 16:04:36 +02:00 |
|
José Valim
|
3ee59b5d0d
|
Break form builder test into smaller files.
|
2011-09-08 16:04:36 +02:00 |
|