fix profile generation

This commit is contained in:
2023-01-16 01:11:05 +02:00
parent 4ffc6e3c85
commit 63299d4464
14 changed files with 114 additions and 56 deletions

View File

@ -3,6 +3,7 @@
= f.input :name
= f.input :bio
= f.input :kind, :as => :hidden
= f.input :picture , as: :file , label: (@profile.picture.blank? ? "Add picture" : "Change picture (optional)")
.flex.justify-between.mt-4
@ -10,4 +11,4 @@
= f.submit 'Save'
%button.bg-cyan-200{class: button_classes}
= link_to 'Cancel', profiles_path
= link_to 'Cancel', member_path(current_member)