add search

This commit is contained in:
Pete Matsyburka committed 2026-09-23 10:59:54 +03:00
1 parent 8259ebdb6c
commit ae5f87f8fb
28 files changed
+323 -34

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
<% author = template.author.full_name.presence || template.author.email.to_s.sub(/\+\w+@/, '@') %>
<%= render 'search/row', href: template_path(template), icon: 'layout_grid', title: template.name, subtitle: template.folder.default? || params[:folder].present? ? author : template.folder.full_name, date: template.created_at, native_actions: ('pencil,menu' if turbo_native_app? && !template.archived_at? && can?(:update, template)) %>