Permalink
Browse files

specific javascript

  • Loading branch information...
1 parent 7c09fda commit 38f2d9cc814aee75f625d24bdbb5f4906e43a8d0 @paulanthonywilson paulanthonywilson committed Mar 12, 2012
Showing with 16 additions and 16 deletions.
  1. +16 −16 app/views/layouts/application.html.erb
@@ -3,24 +3,24 @@
<head>
<title>Scottish Ruby Conference - Review</title>
<%= stylesheet_link_tag 'reset-fonts-grids', 'jquery.tooltip', 'application', 'tablesort'%>
- <%= stylesheet_link_tag 'application', 'print', :media => "print"%>
- <%= javascript_include_tag :all %>
+ <%= stylesheet_link_tag 'application', 'print', :media => "print"%>
+ <%= javascript_include_tag *%w(application jquery jquery.tooltip.min jquery-ui jquery.tablesorter.min)%>
</head>
<body>
- <%= content_tag("p", flash.values.first, :id=>'flash', :class=>flash.keys.first) unless flash.blank?%>
-
- <div id="hd" class="clearfix">
- <% if admin? %>
- <%= link_to "proposals", proposals_path%>
- <%= link_to "admin proposals", admin_proposals_path%>
- <%= link_to "ratings", admin_ratings_path%>
- <%= link_to "cards", print_cards_admin_ratings_path%>
- <%= link_to "Delegate votes", delegate_votes_admin_proposals_path %>
- <% end %>
- <%= logoff_link %>
- <%= yield :header %>
- </div>
- <div id="bd">
+ <%= content_tag("p", flash.values.first, :id=>'flash', :class=>flash.keys.first) unless flash.blank?%>
+
+ <div id="hd" class="clearfix">
+ <% if admin? %>
+ <%= link_to "proposals", proposals_path%>
+ <%= link_to "admin proposals", admin_proposals_path%>
+ <%= link_to "ratings", admin_ratings_path%>
+ <%= link_to "cards", print_cards_admin_ratings_path%>
+ <%= link_to "Delegate votes", delegate_votes_admin_proposals_path %>
+ <% end %>
+ <%= logoff_link %>
+ <%= yield :header %>
+ </div>
+ <div id="bd">
<%= yield %>
</div>
</body>

0 comments on commit 38f2d9c

Please sign in to comment.