enable ragel parser in more places

This commit is contained in:
r888888888
2016-07-25 13:42:04 -07:00
parent d46c6f67b8
commit 4cd6dfe884
10 changed files with 10 additions and 10 deletions

View File

@@ -16,7 +16,7 @@
<tr id="ban-<%= ban.id %>">
<td><%= link_to_user(ban.user) %></td>
<td><%= ban.expires_at %></td>
<td><%= format_text ban.reason %></td>
<td><%= format_text ban.reason, :ragel => true %></td>
<td>
<% if CurrentUser.is_moderator? %>
<%= link_to "Edit", edit_ban_path(ban) %>

View File

@@ -4,7 +4,7 @@
<ul style="margin-bottom: 1em;">
<li><strong>User</strong>: <%= link_to_user(@ban.user) %></li>
<li><strong>Expires</strong>: <%= compact_time @ban.expires_at %></li>
<li><strong>Reason</strong>: <%= format_text @ban.reason %></li>
<li><strong>Reason</strong>: <%= format_text @ban.reason, :ragel => true %></li>
</ul>
<%= form_tag(ban_path(@ban), :method => :delete) do %>