about summary refs log tree commit diff stats
path: root/app/views
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2019-03-13 10:18:45 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2019-03-13 10:18:45 -0400
commitbcf6445d92f1a57dff0b97bd9309f40b70088448 (patch)
tree94d908f819d4e1360b37ea794b26fde4dde81944 /app/views
parent837537b14b01a8c7504b786e1bbf7a350c21242a (diff)
downloadthoughts-bcf6445d92f1a57dff0b97bd9309f40b70088448.tar.gz
thoughts-bcf6445d92f1a57dff0b97bd9309f40b70088448.tar.bz2
thoughts-bcf6445d92f1a57dff0b97bd9309f40b70088448.zip
Added started/finished on dates to Game
Diffstat (limited to 'app/views')
-rw-r--r--app/views/admin/games/_form.html.haml10
1 files changed, 9 insertions, 1 deletions
diff --git a/app/views/admin/games/_form.html.haml b/app/views/admin/games/_form.html.haml index 4b17664..ed0982e 100644 --- a/app/views/admin/games/_form.html.haml +++ b/app/views/admin/games/_form.html.haml
@@ -17,7 +17,15 @@
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 .started-field
21 = f.label :started_on
22 = f.text_field :started_on, class: "datepicker"
23 .details-module
24 .finished-field
25 = f.label :finished_on
26 = f.text_field :finished_on, class: "datepicker"
27 .details-module
20 .status-field 28 .status-field
21 = f.select :status, options_for_select(Game.status.values) 29 = f.select :status, options_for_select(Game.status.values, f.object.status)
22 = f.label :status 30 = f.label :status
23 .details-module= f.submit 31 .details-module= f.submit