%= form_with(model: guest) do |form| %>
<% if guest.errors.any? %>
<%= pluralize(guest.errors.count, "error") %> prohibited this guest from being saved:
<% guest.errors.each do |error| %>
- <%= error.full_message %>
<% end %>
<% end %>
<%= form.label :first_name, style: "display: block" %>
<%= form.text_field :first_name %>
<%= form.label :last_name, style: "display: block" %>
<%= form.text_field :last_name %>
<%= form.label :email, style: "display: block" %>
<%= form.text_field :email %>
<%= form.label :phone, style: "display: block" %>
<%= form.text_field :phone %>
<%= form.submit %>
<% end %>