Skip to content

Commit

Permalink
added partials
Browse files Browse the repository at this point in the history
  • Loading branch information
doboy committed Apr 2, 2012
1 parent 1661e36 commit a863dbc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions app/views/halls/_jqmobile_scripts.html.haml
@@ -0,0 +1,3 @@
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
1 change: 1 addition & 0 deletions app/views/halls/index.html.haml
@@ -0,0 +1 @@
=render :partial => "jqmobile_scripts"
3 changes: 2 additions & 1 deletion app/views/halls/show.html.haml
@@ -1,2 +1,3 @@
%head= @script
@script
=render :partial => "jqmobile_scripts"

0 comments on commit a863dbc

Please sign in to comment.