Files
nairobi/app/views/direct_messages/show.html.erb
Javi Martín 629e208e9d Add and apply ArgumentAlignment rubocop rule
We're choosing the default `with_first_argument` style because it's the
one we use the most.
2023-08-18 14:56:16 +02:00

16 lines
499 B
Plaintext

<div class="row">
<div class="small-12 medium-9 column">
<%= back_link_to user_path(@direct_message.receiver) %>
<div class="clear"></div>
<div class="margin-top">
<span><strong><%= t("users.direct_messages.show.receiver",
receiver: @direct_message.receiver.name) %></strong></span>
</div>
<h1><%= @direct_message.title %></h1>
<p><%= simple_format sanitize_and_auto_link(@direct_message.body), {}, sanitize: false %></p>
</div>
</div>