Files
danbooru/app/views/bans/show.html.erb
evazion 73a4d675c0 css: ensure dtext is always wrapped in .prose container.
Ensure dtext is always wrapped in a `<div class="prose">` or
`<span class="prose">` (for inline dtext) container so that dtext css is
properly applied.
2019-09-17 00:28:41 -05:00

26 lines
657 B
Plaintext

<div id="c-bans">
<div id="a-show">
<h1>Show Ban</h1>
<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>:
<div class="prose">
<%= format_text @ban.reason %>
</div>
</li>
</ul>
<%= form_tag(ban_path(@ban), :method => :delete) do %>
<%= submit_tag "Unban" %>
<% end %>
</div>
</div>
<%= render "secondary_links" %>
<% content_for(:page_title) do %>
Ban - <%= @ban.user.name %> - <%= Danbooru.config.app_name %>
<% end %>