Add BG image tooltip

This commit is contained in:
Andy Smith
2025-08-07 15:40:26 -05:00
parent a83b0a5e15
commit a3cee15170
+2 -2
View File
@@ -5,9 +5,9 @@
<% end %>
<% elsif !card.closed? %>
<%= form_with model: card, url: collection_card_path(card.collection, card), data: { controller: "form" } do |form| %>
<label class="btn input--file">
<label class="btn input--file tooltip">
<%= icon_tag "picture-add" %>
<span class="for-screen-reader"></span>
<span class="for-screen-reader">Add background image</span>
<%= form.file_field :image, class: "input",
accept: "image/png, image/jpeg, image/jpg, image/webp",
aria: { label: "Add background image" },