Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby
481 B
Raw Blame
<%# locals: (combobox_name_suggestion:, combobox_display:, combobox_value:) %>
<div class="flex items-center justify-between gap-2 w-full" data-category-id="<%= combobox_name_suggestion.category&.id %>">
  <span class="truncate text-sm text-primary"><%= combobox_name_suggestion.name %></span>
  <% if combobox_name_suggestion.category %>
    <%= render partial: "categories/badge", formats: [ :html ], locals: { category: combobox_name_suggestion.category } %>
  <% end %>
</div>