diff --git a/app/views/day_logs/_form.html.haml b/app/views/day_logs/_form.html.haml index c97e7a3..9934fbc 100644 --- a/app/views/day_logs/_form.html.haml +++ b/app/views/day_logs/_form.html.haml @@ -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