diff --git a/app/views/moods/index.html.erb b/app/views/moods/index.html.erb index 341d65f..0de47a4 100644 --- a/app/views/moods/index.html.erb +++ b/app/views/moods/index.html.erb @@ -1,14 +1,14 @@ - - + + <%= image_tag(@mode + ".jpg", "data-mood-target": "image") %> - - Comment ça KLUK aujourd'hui ? - Aujourd'hui - - + + Comment ça KLUK aujourd'hui ? + Aujourd'hui + + <% @mood_log.each do |week| %> - + <% week.each do |d| %> <% if d[1] %> " data-mode="<%= d[1] %>" data-day="<%= d[0] %>" data-action="mouseover->mood#updateDayInfo mouseleave->mood#updateDayInfo" title="<%= d[0] %> : <%= d[1] %>" class="day <%= d[1] %>"> @@ -20,24 +20,24 @@ <% end %> - - + + Triste - + En charge - + Croisiere - + Créatif - + A fond