- 27 8月, 2018 1 次提交
-
-
由 bogdanvlviv 提交于
-
- 21 7月, 2018 1 次提交
-
-
由 Yurii Cherniavskyi 提交于
Special form_with attributes `skip_default_ids` and `allow_method_names_outside_object` attributes are leaking into html attributes of option select tag helpers.
-
- 04 4月, 2018 1 次提交
-
-
由 utilum 提交于
Ruby 2.6.0 warns about this.
-
- 28 2月, 2018 1 次提交
-
-
由 bogdanvlviv 提交于
`default_enforce_utf8` belongs to `config.action_view` Update info about `:skip_enforcing_utf8` since we can change default behavior via `config.action_controller.default_enforce_utf8` Related to #32125
-
- 27 2月, 2018 3 次提交
-
-
由 Andrew White 提交于
With the disabling of TLS 1.0 by most major websites, continuing to run IE8 or lower becomes increasingly difficult so default to not enforcing UTF-8 encoding as it's not relevant to other browsers.
-
由 Marcelo Perini Veloso 提交于
-
由 Rui Onodera 提交于
Currently submit_tag value translation does not support i18n key style locale key. It confuses me a bit because many other components support i18n key style locale key. I added i18n key style locale key support to submit tag.
-
- 25 1月, 2018 1 次提交
-
-
由 kami-zh 提交于
- Fix typo - Adjust output example to other example's format
-
- 12 1月, 2018 1 次提交
-
-
由 James Lovejoy 提交于
[ci skip]
-
- 28 11月, 2017 1 次提交
-
-
由 Rafael Mendonça França 提交于
This will keep the behavior of an application with the defaults of a 4.2 or 5.0 application behaving the same when upgrading to 5.2.
-
- 26 11月, 2017 2 次提交
-
-
由 Rafael Mendonça França 提交于
-
由 npezza93 提交于
When `form_with` was introduced we disabled the automatic generation of ids that was enabled in `form_for`. This usually is not an good idea since labels don't work when the input doesn't have an id and it made harder to test with Capybara. You can still disable the automatic generation of ids setting `config.action_view.form_with_generates_ids` to `false.`
-
- 21 10月, 2017 1 次提交
-
-
由 Akira Matsuda 提交于
This basically reverts c4d1a4ef
-
- 27 8月, 2017 1 次提交
-
-
由 Yoshiyuki Hirano 提交于
-
- 22 8月, 2017 1 次提交
-
-
由 Kasper Timm Hansen 提交于
Add back a bit about a resource oriented style of routing.
-
- 10 8月, 2017 1 次提交
-
-
由 T.J. Schuck 提交于
[ci skip]
-
- 09 8月, 2017 1 次提交
-
-
由 T.J. Schuck 提交于
The `@` ivar format doesn’t work with RDoc's `+` code formatting; needs `<tt>`. [ci skip]
-
- 04 8月, 2017 2 次提交
-
-
由 Rafael Mendonça França 提交于
FormHelper includes FormTagHelper so we don't need to define two methods
-
由 Rafael Mendonça França 提交于
Also make sure file_field doesn't mutate the original options passed in.
-
- 02 8月, 2017 1 次提交
-
-
由 David Heinemeier Hansson 提交于
-
- 01 8月, 2017 1 次提交
-
-
由 David Heinemeier Hansson 提交于
-
- 24 7月, 2017 1 次提交
-
-
由 Kir Shatrov 提交于
-
- 02 7月, 2017 1 次提交
-
-
由 Matthew Draper 提交于
This reverts commit 3420a145, reversing changes made to afb66a5a.
-
- 01 7月, 2017 2 次提交
-
-
由 Akira Matsuda 提交于
-
由 Kir Shatrov 提交于
-
- 03 6月, 2017 1 次提交
-
-
由 Genadi Samokovarov 提交于
-
- 30 5月, 2017 1 次提交
-
-
由 David Heinemeier Hansson 提交于
* Allow a default value to be declared for class_attribute * Convert to using class_attribute default rather than explicit setter * Removed instance_accessor option by mistake * False is a valid default value * Documentation
-
- 16 4月, 2017 2 次提交
-
-
由 Kasper Timm Hansen 提交于
Allows users to not have remote forms by default, since there's more JS harness, e.g. bundling rails-ujs, otherwise. Also don't skip creating defaults file anymore. Sprockets isn't the only new config.
-
由 Kasper Timm Hansen 提交于
Effectively treat nil values as "auto", e.g. whatever a form helper chooses to interpret it as. But treat an explicitly assigned false value as disabling.
-
- 15 4月, 2017 1 次提交
-
-
由 yuuji.yaginuma 提交于
Replace `FormOptionHelper` to `FormOptionsHelper`.
-
- 14 4月, 2017 1 次提交
-
-
由 Alex Muller 提交于
-
- 27 12月, 2016 1 次提交
-
-
由 yuuji.yaginuma 提交于
Since it affects the entire form, should not mutate `object_name` of class. Fixes #26931
-
- 19 12月, 2016 5 次提交
-
-
由 Kasper Timm Hansen 提交于
Ensure the support works like form_with.
-
由 Kasper Timm Hansen 提交于
-
由 Kasper Timm Hansen 提交于
Has the handy effect of making the initial examples in the form_with docs work too. Had to do some finagling such that form_with's without a scope didn't wrap their names in braces ala `[title]`.
-
由 Kasper Timm Hansen 提交于
Remote is gone, long live local.
-
由 Kasper Timm Hansen 提交于
By using `except` any option provided to `form_with` would become an html attribute unless explicitly opted out. This proved annoying when adding new internal keys in the options hash and seeing them pop up in the html output. Prevent this by inverting the `except` to `slice` out the keys we want to allow becoming html attributes, like id and class.
-
- 15 12月, 2016 1 次提交
-
-
由 George Claghorn 提交于
Fixes that the following ERB template would result in invalid HTML output: <%= form_with model: Post.new, local: true do |form| %> <% end %> Specifically, the resulting form tag would have a spurious `remote` attribute: <form remote="false" ...>
-
- 14 12月, 2016 1 次提交
-
-
由 Kasper Timm Hansen 提交于
Continuing 67f81cc7 where we decided not to output ids by default in the new form helpers. Went with @dhh's suggestion of just requiring ids on fields being labelled: https://github.com/rails/rails/issues/25197#issuecomment-231797117 Seems okay enough.
-
- 25 11月, 2016 1 次提交
-
-
由 Ryuta Kamizono 提交于
Follow up to #26976.
-