Make sure the example forms show fields even for empty spreadsheets
This commit is contained in:
parent
add4a2f7f0
commit
a6a7b6c8b2
@ -6,6 +6,16 @@
|
||||
<%= text_field_tag header %>
|
||||
</p>
|
||||
<% end %>
|
||||
<% if form.spreadsheet_headers.blank? %>
|
||||
<p>
|
||||
<label for="Name">Name</label>
|
||||
<input type="text" name="Name">
|
||||
</p>
|
||||
<p>
|
||||
<label for="Email">Email</label>
|
||||
<input type="text" name="Email">
|
||||
</p>
|
||||
<% end %>
|
||||
...
|
||||
<input type="submit" value="Submit">
|
||||
</form>
|
||||
|
@ -7,5 +7,4 @@
|
||||
</p>
|
||||
<% end %>
|
||||
...
|
||||
<input type="submit" value="Submit">
|
||||
</form>
|
||||
|
Loading…
x
Reference in New Issue
Block a user