add dates to members

This commit is contained in:
2023-01-12 14:56:50 +02:00
parent 3f53b6b21b
commit a2215359dc
8 changed files with 26 additions and 7 deletions

View File

@ -13,7 +13,7 @@
= f.input :picture , as: :file , label: (@story.picture.blank? ? "Add picture" : "Change picture")
= f.input :header
= f.input :text , input_html: {rows: rows(@story.text)}
.mt-4= f.input :happened , class: "flex"
= f.input :happened , wrapper_class: "flex mt-4 align-center"
%button.mt-6.bg-cyan-200.mr-3.inline-block.rounded-lg.px-4.py-3.text-md.font-medium.border.border-gray-400
= f.submit 'Save'
%button.ml-20.mr-3.inline-block.rounded-lg.px-4.py-3.text-md.font-medium.border.border-gray-400