Files
openproject/app/components/add_button_component.html.erb
T
Aaron Contreras c953d76f5d Extract AddButtonComponents into base ViewComponent
In order to reduce duplication and facilitate ease of use of this
`AddButtonComponent`, a base `ViewComponent` has been extracted
where each individual sub component can implement the unique characteristics
to each of them such as their `render?` method or `dynamic_path`.
2023-07-19 20:04:23 -05:00

11 lines
230 B
Plaintext

<li class="<%= li_css_class %>">
<a href="<%= dynamic_path %>"
id="<%= id %>"
title="<%= title %>"
arial-label="<%= aria_label %>"
class="<%= link_css_class %>">
<%= icon %>
<%= label %>
</a>
</li>