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

15 lines
614 B
Plaintext

= render "profile_card" , profile: profile
.flex.justify-between.mt-4
= 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
= link_to new_event_path(profile: profile.kind) do
%button.bg-cyan-200.mr-3.inline-block.rounded-lg.px-4.py-3.text-md.font-medium.border.border-gray-400
New Event