2022-12-22 15:27:05 +01:00
|
|
|
.flex.flex-col
|
|
|
|
= form_for @member do |f|
|
|
|
|
- if @member.errors.any?
|
|
|
|
#error_explanation
|
|
|
|
%h2= "#{pluralize(@member.errors.count, "error")} prohibited this member from being saved:"
|
|
|
|
%ul
|
|
|
|
- @member.errors.full_messages.each do |message|
|
|
|
|
%li= message
|
2022-12-20 16:05:26 +01:00
|
|
|
|
2022-12-22 15:27:05 +01:00
|
|
|
.field
|
|
|
|
= f.label :name
|
|
|
|
= f.text_field :name
|
|
|
|
.field
|
|
|
|
= f.label :public
|
|
|
|
= f.check_box :public
|
2022-12-24 12:12:25 +01:00
|
|
|
.field
|
|
|
|
= f.label :Bio
|
|
|
|
= f.rich_text_area :bio
|
2022-12-22 15:27:05 +01:00
|
|
|
.actions
|
|
|
|
= f.submit 'Save'
|