anchor.diff:      alert("Comment flagged.");
     }
   </script>
  -<!-- End flagging comments -->+<!-- End flagging comments -->
  
positive.code:                           <i class="glyphicon glyphicon-flag flag"></i>
                          </a>
                        <% end %>
                        <p><%= comment.user.name %> - <%= comment.time.strftime('%d.%m.%Y %H:%M ') %></p>
                        <div class="panel-footer">
                          <p><%= comment.text %></p>
                        </div>
  
negative.code:               <% else %>
                  <% likes = 0 %>
                  <% idea.likes.each do |like| %>
                    <% a = Like.find(idea.id).like_type()
                        if a == 'like'
                          likes = likes + 1
                        end
  