volunteers/app/views/members/show.html.haml

17 lines
537 B
Plaintext
Raw Normal View History

2022-12-24 14:07:25 +01:00
.grid.grid-cols-2.m-20.gap-10
%div
%b Name:
= @member.name
%div
%b Public:
= @member.public
2022-12-25 16:37:22 +01:00
-if @member.picture_url
%div.overflow-hidden.items-align-right
2022-12-25 16:37:22 +01:00
= image_tag @member.picture_url, class: "object-contain h-80"
%div.prose= markdown(@member.bio)
2022-12-20 16:05:26 +01:00
2022-12-24 14:07:25 +01:00
= link_to 'Edit', edit_member_path(@member)
= form_tag( destroy_member_session_path , {method: :delete } ) do
%button.bg-cyan-200.mr-3.inline-block.rounded-lg.px-4.py-3.text-md.font-medium.border.border-gray-400{type: :submit}
Sign out