diff options
author | T.J. Schuck <tj@tjschuck.com> | 2017-08-09 12:26:50 -0400 |
---|---|---|
committer | T.J. Schuck <tj@tjschuck.com> | 2017-08-09 12:26:50 -0400 |
commit | a038cd2b2bfa402bb6ad8788863cede66dfc7c4b (patch) | |
tree | d7dc9a655b41395aa177aec7ca025d9a1b90c46f /actionview/lib/action_view/helpers/form_helper.rb | |
parent | e5fb6ed62b1789ac71fef6a94c57c65097bd45aa (diff) | |
download | rails-a038cd2b2bfa402bb6ad8788863cede66dfc7c4b.tar.gz rails-a038cd2b2bfa402bb6ad8788863cede66dfc7c4b.tar.bz2 rails-a038cd2b2bfa402bb6ad8788863cede66dfc7c4b.zip |
Add code formatting and minor grammar clarifications
[ci skip]
Diffstat (limited to 'actionview/lib/action_view/helpers/form_helper.rb')
-rw-r--r-- | actionview/lib/action_view/helpers/form_helper.rb | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/actionview/lib/action_view/helpers/form_helper.rb b/actionview/lib/action_view/helpers/form_helper.rb index 082ea85aba..e5a2f7e520 100644 --- a/actionview/lib/action_view/helpers/form_helper.rb +++ b/actionview/lib/action_view/helpers/form_helper.rb @@ -2165,11 +2165,11 @@ module ActionView # <%= f.submit %> # <% end %> # - # In the example above, if @post is a new record, it will use "Create Post" as - # submit button label, otherwise, it uses "Update Post". + # In the example above, if <tt>@post</tt> is a new record, it will use "Create Post" as + # submit button label; otherwise, it uses "Update Post". # - # Those labels can be customized using I18n, under the helpers.submit key and accept - # the %{model} as translation interpolation: + # Those labels can be customized using I18n under the +helpers.submit+ key and using + # <tt>%{model}</tt> for translation interpolation: # # en: # helpers: @@ -2177,7 +2177,7 @@ module ActionView # create: "Create a %{model}" # update: "Confirm changes to %{model}" # - # It also searches for a key specific for the given object: + # It also searches for a key specific to the given object: # # en: # helpers: @@ -2198,11 +2198,11 @@ module ActionView # <%= f.button %> # <% end %> # - # In the example above, if @post is a new record, it will use "Create Post" as - # button label, otherwise, it uses "Update Post". + # In the example above, if <tt>@post</tt> is a new record, it will use "Create Post" as + # button label; otherwise, it uses "Update Post". # - # Those labels can be customized using I18n, under the helpers.submit key - # (the same as submit helper) and accept the %{model} as translation interpolation: + # Those labels can be customized using I18n under the +helpers.submit+ key + # (the same as submit helper) and using <tt>%{model}</tt> for translation interpolation: # # en: # helpers: @@ -2210,7 +2210,7 @@ module ActionView # create: "Create a %{model}" # update: "Confirm changes to %{model}" # - # It also searches for a key specific for the given object: + # It also searches for a key specific to the given object: # # en: # helpers: |