new action for intro page for new users
This commit is contained in:
21
app/views/explore/posts/intro.html.erb
Normal file
21
app/views/explore/posts/intro.html.erb
Normal 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>
|
||||
Reference in New Issue
Block a user