Use <pre> tag for formatting

This commit is contained in:
2026-07-05 18:33:20 +02:00
parent 65e5643b13
commit d4be84875e
7 changed files with 13 additions and 8 deletions

View File

@@ -4,7 +4,7 @@
<th><%= User.human_attribute_name(:email) %></th>
<th><%= User.human_attribute_name(:status) %></th>
<th><%= User.human_attribute_name(:confirmed_at) %></th>
<th><%= User.human_attribute_name(:created_at) %>&nbsp;<sup>(UTC)</sup></th>
<th><pre><%= User.human_attribute_name(:created_at) %> <sup>(UTC)</sup></pre></th>
<th><%= t :actions %></th>
</tr>
</thead>
@@ -23,7 +23,7 @@
<% end %>
</td>
<td><%= svg_tag 'checkbox-marked-outline' if user.confirmed_at.present? %></td>
<td><%= l user.created_at, format: :without_tz %></td>
<td><pre><%= l user.created_at, format: :without_tz %></pre></td>
<td class="flex">
<% if allow_disguise?(user) %>
<%= image_link_to t('.disguise'), 'incognito', disguise_user_path(user) %>