orbit-4-2/app/views/mobile/page.mobile.erb

10 lines
349 B
Plaintext
Raw Permalink Normal View History

<ul data-role="listview" class="list">
<% @page_contexts.each do |page_context| %>
<li>
<%= link_to mobile_page_content_path(:app => params[:app], :id => page_context) do %>
<h3><%= page_context.page.title %></h3>
<% end %>
</li>
<% end %>
</ul>
<%= paginate @page_contexts, :param_name => :page_main, :window => 2 %>