templates/rails_app/app/views/layouts/application.html.erb.tt in railman-0.0.3 vs templates/rails_app/app/views/layouts/application.html.erb.tt in railman-0.1.0

- old
+ new

@@ -1,14 +1,32 @@ <!DOCTYPE html> <html> <head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> + <title><%= @class_name %></title> <%%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> + + <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> + <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> + <!--[if lt IE 9]> + <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> + <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> + <![endif]--> + <%%= csrf_meta_tags %> </head> <body> - -<%%= yield %> - + <div class="container"> + <%%= render 'layouts/messages' %> + <%%= yield %> + </div> + <script> + window.current_language = "<%%= I18n.locale %>"; + window.date_format = "<%%= I18n.t('date.formats.datepicker') %>"; + </script> </body> </html>