fill form mode
This commit is contained in:
parent
a9f72b60af
commit
0a2f26684b
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@
|
|||
.field
|
||||
= label_tag :mode_id, "Mode"
|
||||
= select_tag "day_log[mode_id]",
|
||||
options_from_collection_for_select(Current.user.modes, :id, :label),
|
||||
options_from_collection_for_select(Current.user.modes, :id, :label, @mood&.mode_id),
|
||||
include_blank: true
|
||||
|
||||
= f.submit
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue