about summary refs log tree commit diff stats
path: root/app/views/puzzles/_submission.html.haml
blob: a3d07407855f4848e6772b1c2aacb2ec08a1609e (plain) (blame)
1
2
3
4
5
6
7
8
9
%h3 Congrats!
%p Would you like to submit your time?
= form_with url: submit_puzzle_path(@puzzle) do |form|
  - unless @time.nil?
    = form.hidden_field :time, value: @time
  %p
    = form.label :name, "Name:"
    = form.text_field :name
  %p= form.submit "Submit"