fix: Update views and controllers for event image display

Update all event-related view templates and controllers to properly handle and display event images throughout the application.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
kbe
2025-10-01 08:12:47 +02:00
parent 6be8b95ed3
commit 20dcee0a5b
10 changed files with 66 additions and 26 deletions

View File

@@ -174,7 +174,7 @@
<!-- Main content -->
<div class="lg:col-span-2 space-y-6 lg:space-y-8">
<!-- Event image -->
<% if @event.image.attached? %>
<% if @event.has_image? %>
<div class="aspect-video bg-gray-100 rounded-2xl overflow-hidden">
<%= image_tag @event.event_image_variant(:large), alt: @event.name, class: "w-full h-full object-cover" %>
</div>