Files
openproject/app/components/open_project/common/attribute_help_text_component.html.erb
Alexander Brandon Coles 259721f14d Define additional_label slot in AttributeHelpTextComponent
For feature parity with ng `opce-attribute-help-text`.
2025-06-09 19:10:01 +01:00

10 lines
326 B
Plaintext

<%= render Primer::Beta::Link.new(**@system_arguments) do |link| %>
<% if additional_label? %>
<% link.with_trailing_visual_icon(icon: :question, size: :xsmall) %>
<%= additional_label %>
<% else %>
<%= render Primer::Beta::Octicon.new(:question, size: :xsmall) %>
<% end %>
<% end %>
<%= render @tooltip %>