edit category
CI / scan_ruby (push) Failing after 37s
CI / scan_js (push) Failing after 7s
CI / lint (push) Failing after 42s
CI / test (push) Failing after 7s
CI / system-test (push) Failing after 18s

This commit is contained in:
2026-01-23 22:10:51 +01:00
parent 9a814f1aa1
commit a79b27020a
3 changed files with 87 additions and 1 deletions
+1
View File
@@ -21,6 +21,7 @@
<div class="bg-white border border-slate-200 rounded-xl shadow-sm overflow-hidden">
<div class="px-6 py-4 border-b border-slate-100 bg-slate-50/50 flex justify-between items-center">
<span class="text-[10px] font-black uppercase tracking-widest text-slate-400"><%= format_entry_category(@entry) %></span>
<%= link_to "Edit", edit_entry_path(@entry) if admin? %>
<% if @entry.verified? %>
<div class="flex items-center gap-1.5 text-emerald-600">
<svg class="w-4 h-4" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd"/></svg>