Sha256: 155d2ca81c1ebf51339b3f7769a8f97aa21a2fc9d0c4bdcadfbaf1adedb3a113

Contents?: true

Size: 479 Bytes

Versions: 162

Compression:

Stored size: 479 Bytes

Contents

<% if method.present? %>
  <%= button_to path,
    form_class: "flex-1 flex",
    class: button_classes,
    target: target,
    title: title,
    method: method,
    params: params do %>
    <%= helpers.svg(icon, class: 'h-4 mr-1') if icon.present? %> <%= label %>
  <% end %>
<% else %>
  <%= link_to path,
    class: button_classes,
    target: target,
    title: title do %>
    <%= helpers.svg(icon, class: 'h-4 mr-1') if icon.present? %> <%= label %>
  <% end %>
<% end %>

Version data entries

162 entries across 162 versions & 1 rubygems

Version Path
avo-2.34.3 app/components/avo/profile_item_component.html.erb
avo-2.34.2 app/components/avo/profile_item_component.html.erb