Merge pull request #30165 from tjschuck/code_formatting_fix
Add code formatting and minor grammar clarifications
This commit is contained in:
commit
c49968f6aa
|
@ -2165,11 +2165,11 @@ module ActionView
|
||||||
# <%= f.submit %>
|
# <%= f.submit %>
|
||||||
# <% end %>
|
# <% end %>
|
||||||
#
|
#
|
||||||
# In the example above, if @post is a new record, it will use "Create Post" as
|
# 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".
|
# submit button label; otherwise, it uses "Update Post".
|
||||||
#
|
#
|
||||||
# Those labels can be customized using I18n, under the helpers.submit key and accept
|
# Those labels can be customized using I18n under the +helpers.submit+ key and using
|
||||||
# the %{model} as translation interpolation:
|
# <tt>%{model}</tt> for translation interpolation:
|
||||||
#
|
#
|
||||||
# en:
|
# en:
|
||||||
# helpers:
|
# helpers:
|
||||||
|
@ -2177,7 +2177,7 @@ module ActionView
|
||||||
# create: "Create a %{model}"
|
# create: "Create a %{model}"
|
||||||
# update: "Confirm changes to %{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:
|
# en:
|
||||||
# helpers:
|
# helpers:
|
||||||
|
@ -2198,11 +2198,11 @@ module ActionView
|
||||||
# <%= f.button %>
|
# <%= f.button %>
|
||||||
# <% end %>
|
# <% end %>
|
||||||
#
|
#
|
||||||
# In the example above, if @post is a new record, it will use "Create Post" as
|
# 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".
|
# button label; otherwise, it uses "Update Post".
|
||||||
#
|
#
|
||||||
# Those labels can be customized using I18n, under the helpers.submit key
|
# Those labels can be customized using I18n under the +helpers.submit+ key
|
||||||
# (the same as submit helper) and accept the %{model} as translation interpolation:
|
# (the same as submit helper) and using <tt>%{model}</tt> for translation interpolation:
|
||||||
#
|
#
|
||||||
# en:
|
# en:
|
||||||
# helpers:
|
# helpers:
|
||||||
|
@ -2210,7 +2210,7 @@ module ActionView
|
||||||
# create: "Create a %{model}"
|
# create: "Create a %{model}"
|
||||||
# update: "Confirm changes to %{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:
|
# en:
|
||||||
# helpers:
|
# helpers:
|
||||||
|
|
Loading…
Reference in New Issue