From b9b9bd8cb73806688b81f35effcd7774b09823e3 Mon Sep 17 00:00:00 2001 From: CollectiveJam Date: Mon, 16 Apr 2012 17:26:25 -0700 Subject: 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). --- railties/lib/rails/generators/erb/scaffold/templates/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/lib/rails') 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| -%>

- <%= attribute.human_name %>: + <%= attribute.human_name %>: <%%= @<%= singular_table_name %>.<%= attribute.name %> %>

-- cgit v1.2.3