Fill <td> with <a> link using ::after pseudoelement

This commit is contained in:
2023-12-05 23:36:56 +01:00
parent 16c24f65ca
commit 588bc01911
4 changed files with 12 additions and 18 deletions

View File

@@ -11,7 +11,7 @@
<tbody>
<% @users.each do |user| %>
<tr>
<td class="link"><%= table_link_to user.email, user_path(user) %></td>
<td class="link"><%= link_to user.email, user_path(user) %></td>
<td>
<% if user == current_user %>
<%= user.status %>