prototype mobile interface
This commit is contained in:
19
app/views/m/posts/_header.html.erb
Normal file
19
app/views/m/posts/_header.html.erb
Normal file
@@ -0,0 +1,19 @@
|
||||
<header>
|
||||
<menu>
|
||||
<li id="search-item">
|
||||
<%= form_tag(m_posts_path, :method => :get) do %>
|
||||
<%= search_field_tag :tags, params[:tags] %>
|
||||
<% end %>
|
||||
</li>
|
||||
<li id="site-item">
|
||||
<h1>
|
||||
<%= Danbooru.config.app_name %>
|
||||
</h1>
|
||||
</li>
|
||||
<li id="sign-in-item">
|
||||
<% if true || CurrentUser.is_anonymous? %>
|
||||
<%= link_to "Sign in", new_m_session_path %>
|
||||
<% end %>
|
||||
</li>
|
||||
</menu>
|
||||
</header>
|
||||
Reference in New Issue
Block a user