Merge branch 'master' into forms-index-page

This commit is contained in:
Arsene Karema
2020-04-09 19:46:55 +02:00
31 changed files with 364 additions and 40 deletions

View File

@@ -0,0 +1,12 @@
<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| %>
<p>
<label><%= header %>
<%= text_field_tag header %>
</p>
<% end %>
<%= submit_tag 'Send', name: nil %>
<% end %>