= 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 %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' %button.ml-20.mr-3.inline-block.rounded-lg.px-4.py-3.text-md.font-medium.border.border-gray-400 = link_to 'Back', @story