diff --git a/app/views/post_appeals/_new.html.erb b/app/views/post_appeals/_new.html.erb index 1acdfacfb..217364699 100644 --- a/app/views/post_appeals/_new.html.erb +++ b/app/views/post_appeals/_new.html.erb @@ -1,6 +1,4 @@ -

If this post was automatically deleted, then it means at least ten janitors all thought it didn't belong on the site. If you still believe this image was wrongfully deleted, then you can appeal its deletion.

- -

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") %>.

+<%= format_text(WikiPage.titled(Danbooru.config.appeal_notice_wiki_page).first.try(&:body)) %> <%= form_tag(post_appeals_path(:format => :js), :remote => true) do %> <%= hidden_field_tag "post_appeal[post_id]", @post_appeal.post_id %> diff --git a/config/danbooru_default_config.rb b/config/danbooru_default_config.rb index 3aeda506d..1b623381a 100644 --- a/config/danbooru_default_config.rb +++ b/config/danbooru_default_config.rb @@ -249,6 +249,10 @@ module Danbooru "help:flag_notice" end + def appeal_notice_wiki_page + "help:appeal_notice" + end + # The number of posts displayed per page. def posts_per_page 20