fix profile generation
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user