Remove testing page render
This commit is contained in:
parent
139ae58906
commit
b9723be2fb
@ -42,7 +42,6 @@ class FormsController < ApplicationController
|
|||||||
def form
|
def form
|
||||||
|
|
||||||
@form = Form.find_by!(token: params[:id])
|
@form = Form.find_by!(token: params[:id])
|
||||||
render 'submissions/create'
|
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
</h1><br>
|
</h1><br>
|
||||||
<p class="is-size-5 has-text-black ">We received your submission.</p><br>
|
<p class="is-size-5 has-text-black ">We received your submission.</p><br>
|
||||||
<div class="">
|
<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>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user