fixes #2005
This commit is contained in:
16
app/views/mobile/posts/index.html.erb
Normal file
16
app/views/mobile/posts/index.html.erb
Normal file
@@ -0,0 +1,16 @@
|
||||
<%= form_tag(m_posts_path, :method => "get") do %>
|
||||
<%= text_field_tag("tags", params[:tags], :size => 30) %>
|
||||
<%= submit_tag "Go", :name => nil %>
|
||||
<% end %>
|
||||
|
||||
<%= @post_set.presenter.post_previews_html(self, :mobile => true) %>
|
||||
|
||||
<%= numbered_paginator(@post_set.posts) %>
|
||||
|
||||
<div id="tags">
|
||||
<%= @post_set.presenter.tag_list_html(self, :name_only => true, :path_prefix => "/m/posts") %>
|
||||
</div>
|
||||
|
||||
<%= content_for(:html_header) do %>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<% end %>
|
||||
14
app/views/mobile/posts/show.html.erb
Normal file
14
app/views/mobile/posts/show.html.erb
Normal file
@@ -0,0 +1,14 @@
|
||||
<%= form_tag(m_posts_path, :method => "get") do %>
|
||||
<%= text_field_tag("tags", params[:tags], :size => 20) %>
|
||||
<%= submit_tag "Go", :name => nil %>
|
||||
<% end %>
|
||||
|
||||
<%= @post.presenter.image_html(self) %>
|
||||
|
||||
<div id="tags">
|
||||
<%= @post.presenter.tag_list_html(self, :name_only => true, :path_prefix => "/m/posts") %>
|
||||
</div>
|
||||
|
||||
<%= content_for(:html_header) do %>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=<%= @post.device_scale %>">
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user