Files
fizzy/app/views/bubbles/boosts/_boosts.html.erb
T
2025-04-08 16:20:02 -05:00

10 lines
521 B
Plaintext

<%= form_with url: bubble_boosts_path(bubble), class: "pad-inline flex align-center gap" do %>
<span class="overflow-ellipsis">
<strong><%= number_field_tag :boost_count, bubble.boosts_count, min: 1, class: "boost__input input", autocomplete: "off" %></strong>
<span><%= bubble.boosts_count == 1 ? "boost" : "boosts" %></span>
</span>
<%= tag.button class: "btn", type: :submit, style: "font-size: 0.4em" do %>
<%= icon_tag "add" %>
<span class="for-screen-reader">Boost</span>
<% end %>
<% end %>