hubfeenix.fi/app/views/entities/_form.html.haml

12 lines
352 B
Plaintext
Raw Normal View History

2023-01-13 20:47:31 +01:00
= simple_form_for @entity do |f|
2023-01-16 18:23:26 +01:00
= f.error_notification
2023-01-13 19:50:41 +01:00
2023-01-16 18:23:26 +01:00
= f.input :name
= f.input :ha_id , collection: Entity.ha_entities
= f.input :member_id , collection: Member.all.collect{|m| [m.email , m.id ]}
.flex.justify-between.mt-3
.actions{class: button_classes}
= f.submit 'Save'
= link_to 'Back', entities_path , class: "mt-3"