Carlos Antonio da Silva
|
f1edb15ac8
|
Tidy up, add changelog
|
2012-02-16 22:36:34 -02:00 |
Carlos Antonio da Silva
|
2dafe48ada
|
Merge pull request #455 from krzyzak/master
Add ability not to add classes to div/label/input
|
2012-02-16 16:16:32 -08:00 |
Michał Krzyżanowski
|
436a59c6c3
|
simplify configuration
|
2012-02-16 18:42:47 +01:00 |
Rafael Mendonça França
|
07063c0310
|
Test error_notification stored in I18n
|
2012-02-16 15:32:15 -02:00 |
Rafael Mendonça França
|
6b069bf9a9
|
Merge pull request #447 from edison/master
Escape HTML tags for inline field errors
|
2012-02-16 09:15:25 -08:00 |
Edison
|
9dfff667a7
|
allow HTML tags in error notifications messages
|
2012-02-16 15:07:52 -02:00 |
Edison
|
18b73ddba4
|
test for errors messages with HTML tags
|
2012-02-16 15:07:03 -02:00 |
Carlos Antonio da Silva
|
2d24aa2632
|
Allow using Rails button helper with f.button :button. Closes #449
Make sure to just alias button when it is available, to avoid errors
with Rails versions prior to 3.2.
|
2012-02-14 08:24:34 -02:00 |
Michał Krzyżanowski
|
d959016bbf
|
added ability to disable automatically added classes to div/label/input
|
2012-02-13 23:23:07 +01:00 |
Carlos Antonio da Silva
|
26f3c20f1a
|
:radio is not :radio_buttons
Makes the API more consistent with :check_boxes, and improves
compatibility with bootstrap collections by avoiding :radio namespace
collision.
|
2012-01-27 17:47:48 -02:00 |
Rafael Mendonça França
|
cb691edfe2
|
Merge branch 'issue-355'
Conflicts:
test/form_builder/general_test.rb
|
2012-01-11 15:00:27 -03:00 |
Carlos Antonio da Silva
|
9373dfb63b
|
Do not propagate hint_class wrapper option to the input
|
2012-01-11 00:39:20 -02:00 |
Vasiliy Ermolovich
|
40a0b2a7c5
|
add field_with_hint class to the input with hint wrappers, closes #323
|
2012-01-09 22:34:37 +03:00 |
Vasiliy Ermolovich
|
e39e0e54cb
|
handle validates_length_of :is option
|
2012-01-03 21:10:50 +03:00 |
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 |
Rafael Mendonça França
|
cba2b49410
|
Add failing test to #355
|
2011-11-16 13:29:36 -02: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 |