- <td class="<%= c1 %>"><%= link_to t(".show"), block %></td>
- <td class="<%= c1 %>"><% if current_user and current_user.id == block.creator_id and block.active? %><%= link_to t(".edit"), edit_user_block_path(block) %><% end %></td>
+ <td><%= link_to t(".show"), block %></td>
+ <td><% if current_user && (current_user.id == block.creator_id ||
+ current_user.id == block.revoker_id) %><%= link_to t(".edit"), edit_user_block_path(block) %><% end %></td>