Remove testing page render

This commit is contained in:
Yannick 2020-04-22 20:19:44 +02:00
parent 139ae58906
commit b9723be2fb
2 changed files with 1 additions and 2 deletions

View File

@ -42,7 +42,6 @@ class FormsController < ApplicationController
def form
@form = Form.find_by!(token: params[:id])
render 'submissions/create'
end
private

View File

@ -22,7 +22,7 @@
</h1><br>
<p class="is-size-5 has-text-black ">We received your submission.</p><br>
<div class="">
<button class="button is-success is-medium">Back to previous page</button>
<button onclick="window.history.back()" class="button is-success is-medium">Back to previous page</button>
</div>
</div>