From b869b3b8ab5cfd3aa8c3b356caf796a92bebb19b Mon Sep 17 00:00:00 2001 From: Kriszta Matyi Date: Sat, 25 Feb 2023 17:27:21 -0800 Subject: [PATCH] Temporarily hide the manual RSVP dropdown on the admin event page --- .../events/_invitation_management.html.haml | 27 +++++++++---------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/app/views/admin/events/_invitation_management.html.haml b/app/views/admin/events/_invitation_management.html.haml index a15ec7067..3957442a8 100644 --- a/app/views/admin/events/_invitation_management.html.haml +++ b/app/views/admin/events/_invitation_management.html.haml @@ -7,20 +7,19 @@ %br #{@attending_students.count} are attending as students and #{@attending_coaches.count} as coaches. -= simple_form_for :invitation, url: admin_invitation_path, method: :put do |f| - .row.mb-4 - .col-auto - = f.select :id, - @event.invitations.not_accepted.all.map { |u| [ "#{u.member.full_name} (#{u.role})", u.token] }, - { include_blank: true }, - { class: 'chosen-select', required: true, - data: { placeholder: t('messages.invitations.select_a_member_to_rsvp') } } - = f.hidden_field :event_id, value: @event.id - .row.mb-4 - .col-auto - = f.button :button, 'Add', class: 'btn btn-sm btn-primary mb-0 mr-2' - %span{ "data-tooltip" => true, "aria-haspopup" => "true", class: "has-tip", title: t('admin.workshop.manage_rsvps.text') } - %i.fas.fa-info-circle +-# = simple_form_for :invitation, url: admin_invitation_path, method: :put do |f| +-# .row.mb-4 +-# .col-auto +-# = f.select :id, +-# @event.invitations.not_accepted.all.map { |u| [ "#{u.member.full_name} (#{u.role})", u.token] }, +-# { include_blank: true }, +-# { class: 'chosen-select', required: true, +-# data: { placeholder: t('messages.invitations.select_a_member_to_rsvp') } } +-# = f.hidden_field :event_id, value: @event.id +-# .col-auto +-# = f.button :button, 'Add', class: 'btn btn-sm btn-primary mb-0 mr-2' +-# %span{ "data-tooltip" => true, "aria-haspopup" => "true", class: "has-tip", title: t('admin.workshop.manage_rsvps.text') } +-# %i.fas.fa-info-circle .row .col-12.col-md-6