mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 11:10:12 +01:00
Fix html escaping.
This commit is contained in:
parent
858a45ab54
commit
3e2a4e4846
1 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<h1><%= t('users.manage_users') %></h1>
|
||||
|
||||
<p><%= t('users.total_users_count', :count => "<span id=\"user_count\">#{@total_users}</span>") %></p>
|
||||
<p><%= t('users.total_users_count', :count => "<span id=\"user_count\">#{@total_users}</span>").html_safe %></p>
|
||||
|
||||
<table class="users_table">
|
||||
<tr>
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
<td><%= h user.contexts.size %></td>
|
||||
<td><%= h user.projects.size %></td>
|
||||
<td><%= h user.notes.size %></td>
|
||||
<td><%= !user.is_admin? ? remote_delete_user(user) : " " %></td>
|
||||
<td><%= !user.is_admin? ? remote_delete_user(user) : " ".html_safe %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</table>
|
||||
|
|
@ -32,4 +32,4 @@
|
|||
<%= will_paginate @users %>
|
||||
</p>
|
||||
|
||||
<p><%= link_to t('users.signup_new_user'), signup_path %></p>
|
||||
<p><%= link_to t('users.signup_new_user'), signup_path %></p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue