diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2019-03-14 19:07:40 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2019-03-14 19:07:40 -0400 |
commit | e65e2dc1d50210dc9872f2a004714e8acaccca53 (patch) | |
tree | 4b6ab6f115ca873d445e6a8a07f5bb93c460a7f6 /app/views/admin/games/_form.html.haml | |
parent | 8c92613ad51aa2ad5d9d8b24aa1b27899aeabbb7 (diff) | |
download | thoughts-e65e2dc1d50210dc9872f2a004714e8acaccca53.tar.gz thoughts-e65e2dc1d50210dc9872f2a004714e8acaccca53.tar.bz2 thoughts-e65e2dc1d50210dc9872f2a004714e8acaccca53.zip |
Add score dropdown to Game admin
Diffstat (limited to 'app/views/admin/games/_form.html.haml')
-rw-r--r-- | app/views/admin/games/_form.html.haml | 4 |
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" |