diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-11-19 16:57:33 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-11-19 16:57:33 +0000 |
commit | bc6f0d2f30bb9b052d67e79d917bb6b8c6cfb1f8 (patch) | |
tree | 39871b46068029ba384388ce056a295969a56915 /railties/lib/rails_generator/generators/components/scaffold | |
parent | 02adc49d72152a00a93423931f767f9cdb0ef15a (diff) | |
download | rails-bc6f0d2f30bb9b052d67e79d917bb6b8c6cfb1f8.tar.gz rails-bc6f0d2f30bb9b052d67e79d917bb6b8c6cfb1f8.tar.bz2 rails-bc6f0d2f30bb9b052d67e79d917bb6b8c6cfb1f8.zip |
Scaffold resource should have both a layout and a stylesheet [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5565 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/rails_generator/generators/components/scaffold')
-rw-r--r-- | railties/lib/rails_generator/generators/components/scaffold/templates/layout.rhtml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/railties/lib/rails_generator/generators/components/scaffold/templates/layout.rhtml b/railties/lib/rails_generator/generators/components/scaffold/templates/layout.rhtml index b5ba9a4e99..5c1f304232 100644 --- a/railties/lib/rails_generator/generators/components/scaffold/templates/layout.rhtml +++ b/railties/lib/rails_generator/generators/components/scaffold/templates/layout.rhtml @@ -1,5 +1,9 @@ -<html> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> + <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <title><%= controller_class_name %>: <%%= controller.action_name %></title> <%%= stylesheet_link_tag 'scaffold' %> </head> |