`submit` automatically show i18n message. but no support for `disable_with`.
I made the code support `disable_with`.

https://github.com/shingo-nakanishi/rails/commit/e0c3ad231e232aaa814c539853a60ea6a8971b6c
(I want to PR this).

I copy almost code for i18n from ` def submit_default_value`(DRY).
some advice need for DRY(I think the method name change to 
`translate_default_value` etc

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to