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

17 lines
559 B
Plaintext
Raw Normal View History

= simple_form_for @event do |f|
= f.error_notification
= f.input :name
= f.input :text
.grid.grid-cols-2.gap-10
= f.input :start_date
= f.input :end_date
= f.input :profile_id , as: :hidden
= f.input :picture , as: :file
2023-01-16 17:59:07 +01:00
.flex.justify-between
%button.mt-6.bg-cyan-200.mr-3.inline-block.rounded-lg.px-4.py-3.text-md.font-medium.border.border-gray-400
= f.submit 'Save'
= link_to member_path(current_member) do
.mt-6.ml-20.mr-3.inline-block.rounded-lg.px-4.py-3.text-md.font-medium.border.border-gray-400
Back