add author-photo css class to author avatar

This commit is contained in:
David Gil
2015-08-12 18:58:48 +02:00
parent d870706a26
commit 2b16716ee1
2 changed files with 1 additions and 6 deletions

View File

@@ -14,7 +14,7 @@
<h1><%= @debate.title %></h1>
<div class="debate-info">
<%= avatar_image(@debate.author, size: 32) %>
<%= avatar_image(@debate.author, size: 32, class: 'author-photo') %>
<span class="author">
<%= @debate.author.name %>
</span>