Fix test form and move to public directory to make it easily available
The form is helpful for development. moving it to the public folder makes it available from http://localhost:3000/testform.html
This commit is contained in:
parent
edf6884647
commit
43b044d60f
@ -1,7 +1,7 @@
|
||||
<h1><%= @form.title %></h1>
|
||||
|
||||
<%= form_with url: submission_url(@form), action: 'post', authenticity_token: false, local: true, html: { enctype: 'multipart/form-data' } do %>
|
||||
<% @form.header_values.each do |header| %>
|
||||
<% @form.spreadsheet_headers.each do |header| %>
|
||||
<p>
|
||||
<label><%= header %>
|
||||
<%= text_field_tag header %>
|
||||
|
@ -2,7 +2,6 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Tinyforms</title>
|
||||
<meta name="csrf-param" content="authenticity_token" />
|
||||
</head>
|
||||
|
||||
<body>
|
Loading…
x
Reference in New Issue
Block a user