Clean up flag/appeal/pool partials html

The new flag and appeal partials both had a duplicate #a-index dom id.
This commit is contained in:
Toks
2013-08-14 13:19:44 -04:00
parent ab4196a0e3
commit 2d39ed5ebc
8 changed files with 79 additions and 81 deletions

View File

@@ -1,12 +1,8 @@
<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>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>
<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>
<%= form_tag(post_appeals_path(:format => :js), :remote => true) do %>
<%= hidden_field_tag "post_appeal[post_id]", @post_appeal.post_id %>
<%= text_area :post_appeal, :reason, :size => "40x5" %>
<% end %>
</div>
</div>
<%= form_tag(post_appeals_path(:format => :js), :remote => true) do %>
<%= hidden_field_tag "post_appeal[post_id]", @post_appeal.post_id %>
<%= text_area :post_appeal, :reason, :size => "40x5" %>
<% end %>

View File

@@ -1 +1,5 @@
<%= render "post_appeals/new" %>
<div id="c-post-appeals">
<div id="a-new">
<%= render "post_appeals/new" %>
</div>
</div>