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:
bumi 2020-04-14 11:48:53 +02:00
parent edf6884647
commit 43b044d60f
2 changed files with 1 additions and 2 deletions

View File

@ -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 %>

View File

@ -2,7 +2,6 @@
<html>
<head>
<title>Tinyforms</title>
<meta name="csrf-param" content="authenticity_token" />
</head>
<body>