Remove testing page render
This commit is contained in:
parent
139ae58906
commit
b9723be2fb
@ -42,7 +42,6 @@ class FormsController < ApplicationController
|
||||
def form
|
||||
|
||||
@form = Form.find_by!(token: params[:id])
|
||||
render 'submissions/create'
|
||||
end
|
||||
|
||||
private
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user