ikuseiGmbH/smart-village-app-cms

View on GitHub
app/views/surveys/new.html.erb

Summary

Maintainability
Test Coverage
<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>