13 lines
359 B
Plaintext
13 lines
359 B
Plaintext
<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 %>
|