Skip to content
Snippets Groups Projects
Commit 577b084b authored by Arnaud Levy's avatar Arnaud Levy
Browse files

sanitize

parent 9d003b4a
No related branches found
No related tags found
No related merge requests found
...@@ -38,9 +38,8 @@ ...@@ -38,9 +38,8 @@
<%= image_tag 'avatar-neutral.png', class: 'card-img-top' %> <%= image_tag 'avatar-neutral.png', class: 'card-img-top' %>
<% end %> <% end %>
<div class="card-body"> <div class="card-body">
<p><%= person %></p> <p class="mb-0"><%= link_to person, admin_university_person_path(person), class: 'text-black stretched-link' %></p>
<p class="small text-muted mb-0"><%= person.summary %></p> <p class="small text-muted mb-0"><%= sanitize person.summary %></p>
<%= link_to t('show'), admin_university_person_path(person), class: 'action stretched-link' %>
</div> </div>
</div> </div>
</div> </div>
...@@ -64,7 +63,7 @@ ...@@ -64,7 +63,7 @@
<td> <td>
<%= link_to person, admin_university_person_path(person) %> <%= link_to person, admin_university_person_path(person) %>
</td> </td>
<td><%= person.summary %></td> <td><%= sanitize person.summary %></td>
<td> <td>
<%= kamifusen_tag person.best_picture, <%= kamifusen_tag person.best_picture,
width: 60, class: 'rounded-circle' if person.best_picture.attached? %> width: 60, class: 'rounded-circle' if person.best_picture.attached? %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment