Skip to content

Commit

Permalink
Add button title to show what the buttons mean
Browse files Browse the repository at this point in the history
  • Loading branch information
SmittieC committed Dec 19, 2024
1 parent aa7d382 commit 85d5c5d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions templates/experiments/chat/components/message_rating.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@
hx-post="{% url 'experiments:rate_message' team_slug=team_slug message_id=message.id rating='👍' %}"
hx-swap="outerHTML"
hx-target="#rating-{{message.id}}"
class="text-sm p-1 rounded-md hover:bg-gray-50">
class="text-sm p-1 rounded-md hover:bg-gray-50"
title="Good response">
👍
</button>
<button
hx-post="{% url 'experiments:rate_message' team_slug=team_slug message_id=message.id rating='👎' %}"
hx-swap="outerHTML"
hx-target="#rating-{{message.id}}"
class="text-sm p-1 rounded-md hover:bg-gray-50">
class="text-sm p-1 rounded-md hover:bg-gray-50"
title="Bad response">
👎
</button>
{% endif %}
Expand Down

0 comments on commit 85d5c5d

Please sign in to comment.