new action for intro page for new users

This commit is contained in:
r888888888
2013-06-17 13:15:52 -07:00
parent ec56d7abc9
commit 90e90e8be2
5 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<div id="c-explore-posts">
<div id="a-intro">
<header>
<h1>Danbooru</h1>
<p class="byline">Find good anime art fast</p>
<%= form_tag(posts_path, :method => :get) do %>
<%= text_field_tag "tags", "", :size => 50 %>
<%= submit_tag "Search" %>
<% end %>
</header>
<% @presenter.each do |tag, post_set| %>
<div class="posts">
<h2><%= link_to tag, posts_path(:tags => tag) %></h2>
<%= post_set.presenter.post_previews_html(self) %>
<div class="clearfix"></div>
</div>
<% end %>
</div>
</div>