lib/generators/dry_crud/templates/app/views/layouts/crud.html.erb in dry_crud-1.3.0 vs lib/generators/dry_crud/templates/app/views/layouts/crud.html.erb in dry_crud-1.3.1

- old
+ new

@@ -1,11 +1,10 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<html lang="en"> <head> - <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> + <meta charset="utf-8" /> <title><%= strip_tags(@title) %></title> <%= stylesheet_link_tag 'crud' %> <%= csrf_meta_tag %> <%= yield :head %> </head> @@ -32,9 +31,9 @@ <%= yield %> </div> </div> <%= javascript_include_tag :defaults, :cache => 'all' %> -<%= javascript_tag content_tag_for(:javascripts) if content_for?(:javascripts) %> +<%= javascript_tag yield(:javascripts) if content_for?(:javascripts) %> </body> </html>