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

10 lines
349 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>
2013-01-16 00:14:42 +00:00
<%= link_to mobile_page_content_path(:app => params[:app], :id => page_context) do %>
2012-12-19 19:21:50 +00:00
<h3><%= page_context.page.title %></h3>
<% end %>
</li>
<% end %>
</ul>
<%= paginate @page_contexts, :param_name => :page_main, :window => 2 %>