about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2019-03-14 19:07:40 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2019-03-14 19:07:40 -0400
commite65e2dc1d50210dc9872f2a004714e8acaccca53 (patch)
tree4b6ab6f115ca873d445e6a8a07f5bb93c460a7f6
parent8c92613ad51aa2ad5d9d8b24aa1b27899aeabbb7 (diff)
downloadthoughts-e65e2dc1d50210dc9872f2a004714e8acaccca53.tar.gz
thoughts-e65e2dc1d50210dc9872f2a004714e8acaccca53.tar.bz2
thoughts-e65e2dc1d50210dc9872f2a004714e8acaccca53.zip
Add score dropdown to Game admin
-rw-r--r--app/views/admin/games/_form.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/admin/games/_form.html.haml b/app/views/admin/games/_form.html.haml index ed0982e..2ef4463 100644 --- a/app/views/admin/games/_form.html.haml +++ b/app/views/admin/games/_form.html.haml
@@ -17,6 +17,10 @@
17 = f.label :progress 17 = f.label :progress
18 = f.text_area :progress 18 = f.text_area :progress
19 .details-module 19 .details-module
20 .score-field
21 = f.label :score
22 = f.select :score, 1..10, include_blank: true
23 .details-module
20 .started-field 24 .started-field
21 = f.label :started_on 25 = f.label :started_on
22 = f.text_field :started_on, class: "datepicker" 26 = f.text_field :started_on, class: "datepicker"