diff --git a/app/components/DS/tag_select.html.erb b/app/components/DS/tag_select.html.erb index cfbdd7286..0ebaae525 100644 --- a/app/components/DS/tag_select.html.erb +++ b/app/components/DS/tag_select.html.erb @@ -11,7 +11,9 @@ data-action="click@window->tag-select#handleOutsideClick keydown->tag-select#handleKeydown">
- <%= form.label :tag_ids, helpers.t("transactions.form.tags_label"), class: "form-field__label" %> + <% if show_label %> + <%= form.label attribute, label || helpers.t("transactions.form.tags_label"), class: "form-field__label" %> + <% end %>