Orbit/app/views/mobile/page.mobile.erb

10 lines
320 B
Plaintext
Raw Normal View History

2012-12-19 19:21:50 +00:00
<ul data-role="listview" class="list">
<% @page_contexts.each do |page_context| %>
<li>
<%= link_to mobile_page_content_path(page_context) do %>
<h3><%= page_context.page.title %></h3>
<% end %>
</li>
<% end %>
</ul>
<%= paginate @page_contexts, :param_name => :page_main, :window => 2 %>