Skip to content

Commit

Permalink
Better tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
parterburn committed Dec 14, 2024
1 parent a8fc33e commit 0258ab4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/views/entries/review.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@
= pie_chart(@sentiment_count, height: "230px", library: {backgroundColor: "#ffffff"})
.clearfix
- @entries_with_sentiment.pluck(:sentiment).flatten.uniq.sort.each do |sentiment|
%div{style: "margin-top: 4px;"}
= link_to "View entries tagged #{sentiment}", entries_emotion_path(sentiment)
= link_to "#{Entry::AiTagger::EMOTIONS[sentiment]}", entries_emotion_path(sentiment), style: "text-decoration: none; margin-left: 2px; margin-right: 2px;", title: "View entries tagged with #{sentiment}"

.col-md-8.col-md-offset-2.well
.center{class: add_class}
Expand Down

0 comments on commit 0258ab4

Please sign in to comment.