aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/form_helper.rb
diff options
context:
space:
mode:
authorLawrence Pit <lawrence.pit@gmail.com>2010-05-03 16:44:32 +1000
committerJosé Valim <jose.valim@gmail.com>2010-05-03 13:37:32 +0200
commit9bd91b00b85c77bc294ae2a99beae203cc163227 (patch)
treeec5b8bc9d4d2053ebddfec174b9afa4e9c00239b /actionpack/lib/action_view/helpers/form_helper.rb
parent8ae9b05fa0ca579ecabcd563e6ba75ea0f44f074 (diff)
downloadrails-9bd91b00b85c77bc294ae2a99beae203cc163227.tar.gz
rails-9bd91b00b85c77bc294ae2a99beae203cc163227.tar.bz2
rails-9bd91b00b85c77bc294ae2a99beae203cc163227.zip
Favor %{} in all code instead of (deprecated) {{}} as interpolation syntax for I18n
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'actionpack/lib/action_view/helpers/form_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/form_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb
index b2470edf00..6e26ae6c29 100644
--- a/actionpack/lib/action_view/helpers/form_helper.rb
+++ b/actionpack/lib/action_view/helpers/form_helper.rb
@@ -1179,7 +1179,7 @@ module ActionView
# helpers:
# submit:
# post:
- # create: "Add {{model}}"
+ # create: "Add %{model}"
#
def submit(value=nil, options={})
value, options = nil, value if value.is_a?(Hash)