timeline wotking, renmed left column

This commit is contained in:
Torsten
2023-06-03 18:09:23 +03:00
parent b8dc0da001
commit 5a5f0585fb
14 changed files with 113 additions and 28 deletions

View File

@ -15,8 +15,8 @@
.text-red-700= f.error_notification
= f.input :name
.grid.grid-cols-2.gap-10
= f.input :arrived
= f.input :left
= f.input :arriving
= f.input :leaving
.flex.h-16.mt-2.col-span-2
= image_tag(@member.picture_url , class: "align-middle mr-4") if @member.picture?
.w-full= f.input :picture , as: :file ,

View File

@ -1,9 +0,0 @@
= paginate @members
.flex.flex-col.mx-10
- @members.each_with_index do |member , index|
.flex
.w-60= member.name
.mx-1= index + 1
.mx-1= distance_of_time_in_words_to_now member.arrived
.name= member.left - member.arrived