improving event

This commit is contained in:
2023-01-16 18:59:07 +02:00
parent cb54951037
commit 37164b534d
8 changed files with 60 additions and 81 deletions

View File

@ -1,24 +1,3 @@
%p#notice= notice
= render "event" , event: @event
%p
%b Name:
= @event.name
%p
%b Text:
= @event.text
%p
%b Start date:
= @event.start_date
%p
%b End date:
= @event.end_date
%p
%b Profile:
= @event.profile
%p
%b Picture:
= @event.picture
= link_to 'Edit', edit_event_path(@event)
\|
= link_to 'Back', events_path
= render "profiles/profile" , profile: @event.profile , header: "About the teacher"