diff options
author | CollectiveJam <lachygroom+collectivejam@gmail.com> | 2012-04-16 17:26:25 -0700 |
---|---|---|
committer | CollectiveJam <lachygroom+collectivejam@gmail.com> | 2012-04-16 17:26:25 -0700 |
commit | b9b9bd8cb73806688b81f35effcd7774b09823e3 (patch) | |
tree | 7d2cc05417448edc03e3fa0a0a7b6406a12e5212 /railties | |
parent | 86c640a1625aa3a8ec8728c2f1c640c9718fcb0b (diff) | |
download | rails-b9b9bd8cb73806688b81f35effcd7774b09823e3.tar.gz rails-b9b9bd8cb73806688b81f35effcd7774b09823e3.tar.bz2 rails-b9b9bd8cb73806688b81f35effcd7774b09823e3.zip |
Changes b tag to strong
The change is made due to importance of the attribute name (e.g. Name:) on the page (versus just stylistic / appearance sake tag).
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/erb/scaffold/templates/show.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/erb/scaffold/templates/show.html.erb b/railties/lib/rails/generators/erb/scaffold/templates/show.html.erb index 67f263efbb..e15c963971 100644 --- a/railties/lib/rails/generators/erb/scaffold/templates/show.html.erb +++ b/railties/lib/rails/generators/erb/scaffold/templates/show.html.erb @@ -2,7 +2,7 @@ <% attributes.each do |attribute| -%> <p> - <b><%= attribute.human_name %>:</b> + <strong><%= attribute.human_name %>:</strong> <%%= @<%= singular_table_name %>.<%= attribute.name %> %> </p> |