app/views/surveys/new.html.erb
<div class="text-center">
<h1 class="h3 mb-0 font-weight-bold">Umfrage erstellen</h1>
</div>
<div class="row justify-content-center">
<div class="col-lg-8">
<%= form_with(url: surveys_path, method: :post, local: true) do %>
<%= render partial: "surveys/form", locals: { survey: @survey } %>
<% end %>
</div>
</div>