mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
c953d76f5d
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`.
11 lines
230 B
Plaintext
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>
|