add partials
This commit is contained in:
20
app/views/pool_elements/_new.html.erb
Normal file
20
app/views/pool_elements/_new.html.erb
Normal file
@@ -0,0 +1,20 @@
|
||||
<div id="c-pool-elements">
|
||||
<div id="a-new">
|
||||
<%= form_tag(pool_element_path) do %>
|
||||
<%= hidden_field_tag "post_id", @post.id %>
|
||||
<%= text_field_tag "pool_name", "", :size => 20 %>
|
||||
<%= submit_tag "Select" %>
|
||||
<% end %>
|
||||
|
||||
<% if recent_updated_pools.any? %>
|
||||
<div>
|
||||
<h1>Recent Pools</h1>
|
||||
<ul id="recent-pools">
|
||||
<% recent_updated_pools.each do |pool| %>
|
||||
<li><%= pool.name %></li>
|
||||
<% end %>
|
||||
</ul>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
12
app/views/post_appeals/_new.html.erb
Normal file
12
app/views/post_appeals/_new.html.erb
Normal file
@@ -0,0 +1,12 @@
|
||||
<div id="c-post-appeals">
|
||||
<div id="a-index">
|
||||
<p>If this post was automatically deleted, <strong>then it means at least ten janitors all thought it didn't belong on the site</strong>. If you still believe this image was wrongfully deleted, then you can appeal its deletion.</p>
|
||||
|
||||
<p>All users are limited to one appeal a day. For more details, please read the <%= link_to "wiki", wiki_pages_path(:title => "help:deletion_appeals") %>.</p>
|
||||
|
||||
<%= simple_form_for(@post_appeal, :remote => true, :format => :js) do |f| %>
|
||||
<%= hidden_field_tag "post_appeal[post_id]", @post_appeal.post_id %>
|
||||
<%= f.text_field :reason, :size => "40x5" %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
29
app/views/post_flags/_new.html.erb
Normal file
29
app/views/post_flags/_new.html.erb
Normal file
@@ -0,0 +1,29 @@
|
||||
<div id="c-post-flags">
|
||||
<div id="a-index">
|
||||
<p>If you believe a post does not belong on this site, you can flag for its deletion. As a reminder, the following are some common reasons for flagging a post:</p>
|
||||
|
||||
<ul>
|
||||
<li>Not anime-related</li>
|
||||
<li>Furry: a character has body fur or an animal face</li>
|
||||
<li>Watermark: text or logo inserted by someone besides the original artist</li>
|
||||
<li>Poor compression: JPEG artifacts</li>
|
||||
<li>Guro: mutilation, extreme bodily distension</li>
|
||||
<li>Bad proportions: extremely large breasts or penises</li>
|
||||
<li>Manga: Multiple pages of a manga, doujinshi, or comic that don't stand up to individual scrutiny</li>
|
||||
<li>Fake translations: Made up translations are banned</li>
|
||||
</ul>
|
||||
|
||||
<p>The following are <strong>NOT</strong> valid reasons for flagging a post:</p>
|
||||
|
||||
<ul>
|
||||
<li>Duplicate: just parent to the original</li>
|
||||
</ul>
|
||||
|
||||
<p>Enter a reason:</p>
|
||||
|
||||
<%= simple_form_for(@post_flag, :remote => true, :format => :js) do |f| %>
|
||||
<%= f.input :post_id, :as => :hidden %>
|
||||
<%= f.text_field :reason %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user