hubfeenix.fi/app/views/members/_member_profile.haml

10 lines
437 B
Plaintext
Raw Normal View History

2023-01-22 10:36:35 +01:00
= render "profile_card" , profile: profile
2023-01-20 13:59:34 +01:00
2023-01-22 10:36:35 +01:00
.flex.justify-between.mt-4
2023-01-20 13:59:34 +01:00
= link_to edit_profile_path(profile) do
%button.bg-cyan-200.mr-3.inline-block.rounded-lg.px-4.py-3.text-md.font-medium.border.border-gray-400
Edit
= form_tag( profile_path(profile.id) , {method: :delete } ) do
%button.bg-red-200.mr-3.inline-block.rounded-lg.px-4.py-3.text-md.font-medium.border.border-gray-400{type: :submit}
Delete Profile