Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby
421 B
Raw Blame
<%= container do %>
  <% if icon && (icon_position != :right) %>
    <%= helpers.icon(icon, size: size, color: icon_color, custom: icon_custom, class: icon_classes) %>
  <% end %>

  <% unless icon_only? %>
    <span class="min-w-0 truncate"><%= text %></span>
  <% end %>

  <% if icon && icon_position == :right %>
    <%= helpers.icon(icon, size: size, color: icon_color, custom: icon_custom) %>
  <% end %>
<% end %>