mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-03 04:25:21 +02:00
* [claudesquad] update from 'component-namespacing' on 18 Jul 25 07:23 EDT * [claudesquad] update from 'component-namespacing' on 18 Jul 25 07:30 EDT * Update stimulus controller references to use namespace * Fix remaining tests
13 lines
340 B
Text
13 lines
340 B
Text
<%= link_to href, **merged_opts do %>
|
|
<% if icon && (icon_position != "right") %>
|
|
<%= helpers.icon(icon, size: size, color: icon_color) %>
|
|
<% end %>
|
|
|
|
<% unless icon_only? %>
|
|
<%= text %>
|
|
<% end %>
|
|
|
|
<% if icon && icon_position == "right" %>
|
|
<%= helpers.icon(icon, size: size, color: icon_color) %>
|
|
<% end %>
|
|
<% end %>
|