<%= render partial: 'leader' %> <%= render partial: 'rsvp_nav', locals: { active: 1 } %>

About You

<%= form_with(model: @guest, method: :patch, local: true, id: 'guest-edit-form') do |form| %>
<%= errors_for(@guest) %>
<%= form.label :email, class: 'col-form-label' %> *
<%= form.email_field :email, id: 'guest_email', class: 'form-control', required: true %>
<%= render partial: 'name', locals: { form: form, id_stem: 'guest' } %>

Will you be joining us?

<%= form.radio_button :attending, 'true', checked: true, id: 'guest_attending_true', class: 'form-check-input' %> <%= form.label :attending, 'Yes', value: 'true', class: 'form-check-label' %>
<%= form.radio_button :attending, 'false', id: 'guest_attending_false', class: 'form-check-input' %> <%= form.label :attending, 'No', value: 'false', class: 'form-check-label' %>
<%= render partial: 'dietary_preferences', locals: { form: form, id_stem: 'guest' } %>
<%= form.label :songs, 'Song Suggestions', class: 'col-form-label' %>
<%= form.text_area :songs, id: 'guest_songs', class: 'form-control' %> Wir erstellen unsere Playlist gemeinsam mit euch! Schreibt uns ein paar Songs, die ihr hören möchtet.
* Required
<%= form.submit 'Continue', class: 'btn btn-primary', data: { disable_with: 'Sending...' } %>
<% end %>