Herminio Torres
1a72dffc37
Add support Rails 5.
2016-07-05 12:22:52 -03:00
José Valim
63fbc2d5a8
Revert "Translate the attributes prefixed with _html to keep the html markup."
...
This reverts commit 337fce04f3
.
2015-09-07 10:01:19 +02:00
Rafael Mendonça França
341803e94f
Fix invalid selectors
2014-09-08 18:14:53 -03:00
Rafael Mendonça França
12e6d89b77
Remove all warnings of invalid CSS selector
2014-09-08 17:19:40 -03:00
John Voloski
e878330f28
improve inputs's tests description and remove 'should'
2014-05-14 14:19:06 -03:00
Lauro Caetano
337fce04f3
Translate the attributes prefixed with _html to keep the html markup.
2014-04-04 19:10:50 -03:00
Rafael Mendonça França
92a6a9c278
Add a test case for the i18n_scope
2014-04-04 12:00:04 -03:00
Vasiliy Ermolovich
6cd76c7258
add spec for validates_format_of
and :without
option
2013-02-28 09:57:57 +03:00
Renato Mascarenhas
34312c9fbc
Use 1.9 hash style on code and docs.
2013-01-28 19:02:59 -02:00
Lucas Mazza
96a5b64d3e
SimpleForm no longer sets the size
attribute by itself.
...
This should be managed using CSS or you should set the `size` option
on your own. The `default_input_size` configuration setting is now
deprecated and should be removed on SimpleForm 3.1+.
See #542 .
2012-12-27 19:39:32 -02:00
Rafael Mendonça França
1ff7f20d66
Move the tests to the proper place
2012-04-21 09:10:10 -03:00
Derek Prior
2000d32942
Consistently refer to SimpleForm in docs and tests
...
In most official-looking places, the gem is refered to as "SimpleForm",
rather than "simple form", "Simple Form" or "simple_form". When we're
talking about the gem, use "SimpleForm". In code, keep "simple_form".
Eliminate all instances of "simple form" except when capitalized in
deprecation messages.
2012-02-17 16:44:20 -05:00
Carlos Antonio da Silva
961f5f577e
Strip extra spaces from class html attribute
2012-01-26 10:58:34 -02:00
Rafael Mendonça França
c891667501
Add test to make sure that pattern component is disable by default
2012-01-11 18:57:01 -03:00
José Valim
0fabc1b859
Allow inputs to be marked as optional.
...
This means they won't do any lookup unless explicitly told to.
2012-01-11 21:14:31 +01:00
Vasiliy Ermolovich
e39e0e54cb
handle validates_length_of :is option
2012-01-03 21:10:50 +03:00
Vasiliy Ermolovich
e50011eadf
don't get maxlength from validation when tokenizer present
2012-01-02 23:48:41 +03:00
Vasiliy Ermolovich
6c8a2d57cb
add support for proc or lambda as an option for FormatValidator
2012-01-01 17:32:08 +03:00
José Valim
4391685bfd
Make html5 a wrapper option.
2011-12-04 16:15:32 +01:00
José Valim
94dab68cd7
Create more components. Make explicit the difference between helpers and components. Add default options to wrappers.
2011-12-04 14:57:12 +01:00
José Valim
10f2e67708
Make pattern a component.
2011-12-04 13:40:04 +01:00
José Valim
ce19f2b898
Make maxlength a component.
2011-12-04 13:14:39 +01:00
José Valim
cc72315703
Break inputs_test.rb into many files as well.
2011-09-08 16:04:36 +02:00