Remove ruby DText implementation (#3206).

This commit is contained in:
evazion
2017-07-14 23:34:52 -05:00
parent d48ed95191
commit 7cb7c2fbab
40 changed files with 47 additions and 582 deletions

View File

@@ -1,4 +1,4 @@
<%= format_text(WikiPage.titled(Danbooru.config.flag_notice_wiki_page).first.try(&:body), :ragel => true) %>
<%= format_text(WikiPage.titled(Danbooru.config.flag_notice_wiki_page).first.try(&:body)) %>
<!-- XXX dtext_field expects there to be a `post_flag` instance variable. -->
<% @post_flag = post_flag %>

View File

@@ -21,7 +21,7 @@
<tr class="resolved-<%= post_flag.is_resolved? %>">
<td><%= PostPresenter.preview(post_flag.post, :tags => "status:any") %></td>
<td>
<%= format_text post_flag.reason, :ragel => true %>
<%= format_text post_flag.reason %>
</td>
<td>
<%= link_to post_flag.post.flags.size, post_flags_path(search: { post_id: post_flag.post_id }) %>