Edit Entry
<% if @entry.verified? %>
<% else %>
Unverified
<% end %>
Update the translations and details for this entry.
<%= form_with model: @entry, class: "space-y-6" do |f| %>
<% if @entry.errors.any? %>
<%= render 'entries/form_fields', f: f, category_prompt: false %>
<%= f.submit "Save Changes", class: "flex-1 bg-indigo-600 hover:bg-indigo-700 text-white font-semibold py-3 px-6 rounded-lg transition shadow-md hover:shadow-lg" %>
<%= link_to "Cancel", entry_path(@entry), class: "flex-1 text-center bg-gray-100 hover:bg-gray-200 text-gray-800 font-semibold py-3 px-6 rounded-lg transition" %>
<%= link_to "← Back to entry", entry_path(@entry), class: "text-indigo-600 hover:text-indigo-800 font-semibold" %> •
<%= link_to "Back to search", entries_path, class: "text-indigo-600 hover:text-indigo-800 font-semibold" %>