Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

340 B
Raw Blame
<%= 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 %>