diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/admin/games/_form.html.haml | 10 |
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 |