Browse files

Add usertime to iphone view too

  • Loading branch information...
1 parent dbe02c4 commit e470ef2dfe90240aa896b844433b1638cfcd0083 @wfarr wfarr committed Jul 16, 2010
Showing with 13 additions and 11 deletions.
  1. +13 −11 app/views/layouts/application.iphone.erb
View
24 app/views/layouts/application.iphone.erb
@@ -3,17 +3,19 @@
<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"/>
- <meta name="viewport" content="width = 320" />
- <meta name="viewport" content="initial-scale=1, user-scalable=no" />
- <%= stylesheet_link_tag 'iphone', 'iphone_hack' %>
- <%= javascript_include_tag 'prototype' %>
- <title>XTT</title>
- <script type="text/javascript" charset="utf-8">
- document.observe('dom:loaded', function() {
- <%= yield :dom_loaded %>
- });
- </script>
+ <%- usertime do %>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ <meta name="viewport" content="width = 320" />
+ <meta name="viewport" content="initial-scale=1, user-scalable=no" />
+ <%= stylesheet_link_tag 'iphone', 'iphone_hack' %>
+ <%= javascript_include_tag 'prototype' %>
+ <title>XTT</title>
+ <script type="text/javascript" charset="utf-8">
+ document.observe('dom:loaded', function() {
+ <%= yield :dom_loaded %>
+ });
+ </script>
+ <% end %>
</head>
<body>

0 comments on commit e470ef2

Please sign in to comment.