17. app/views/restaurants/index.mobile.erb
<%= content_for :title do -%>
<h1>Restaurants</h1>
<%- end -%>
<ul data-role="listview">
<li data-role="list-divider">
Please select a restaurant
</li>
<%- @locations.each do |i| -%>
<li class="arrow">
<%= link_to i.name, new_restaurant_visit_path(i) %>
</li>
<%- end -%>
</ul>
18.
19.
20. JQueryMobile Is
Awesome
• Built on web standards
• Built by a talented and capable team
• It’s JQuery-based
• It’s not having to learn 5 different
frameworks and languages