Add search and include new JS

This commit is contained in:
Wesley Moore 2010-02-01 21:37:15 +11:00
parent 43d2baa267
commit 53d461f4cf

View file

@ -3,6 +3,9 @@
<head> <head>
<%= render 'head_common' %> <%= render 'head_common' %>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js" type="text/javascript"></script> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js" type="text/javascript"></script>
<script src="/js/jquery.mustache.js" type="text/javascript" charset="utf-8"></script>
<script src="/js/jquery.ba-bbq.min.js" type="text/javascript" charset="utf-8"></script>
<script src="/js/mojo.js" type="text/javascript" charset="utf-8"></script>
<script src="/js/articles.js" type="text/javascript" charset="utf-8"></script> <script src="/js/articles.js" type="text/javascript" charset="utf-8"></script>
</head> </head>
<body class="articles"> <body class="articles">
@ -26,6 +29,11 @@
<% end %> <% end %>
</ul> </ul>
<div id="search">
<label>Quick Search:</label>
<input type="text" name="q" />
</div>
<ul class="articles"> <ul class="articles">
<%= yield %> <%= yield %>
</ul> </ul>