Add BG image tooltip
This commit is contained in:
@@ -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" },
|
||||
|
||||
Reference in New Issue
Block a user