Skip to content

Commit

Permalink
Update _form.html.haml: use %span.unused for hidden unused text
Browse files Browse the repository at this point in the history
  • Loading branch information
mjavurek authored Dec 6, 2024
1 parent 6621aac commit e853e19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/group_orders/_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
+
%span.unused{id: "q_unused_#{order_article.id}"}= @ordering_data[:order_articles][order_article.id][:quantity] - @ordering_data[:order_articles][order_article.id][:used_quantity]
- else
%span{ style: "color: transparent;" } + 0
%span.unused{style: "color: transparent;"} + 0
.btn-group
%a.btn.btn-ordering{'data-increase_quantity' => order_article.id}
%i.icon-plus
Expand Down

0 comments on commit e853e19

Please sign in to comment.