diff --git a/app/assets/stylesheets/mobile.css.scss b/app/assets/stylesheets/mobile.css.scss index f767bed7..253daabf 100644 --- a/app/assets/stylesheets/mobile.css.scss +++ b/app/assets/stylesheets/mobile.css.scss @@ -149,6 +149,10 @@ span.prj, span.ctx{ background: #FFC2C2; } +.ctx-add { + float: right; +} + ul.c li { list-style-type: none; } diff --git a/app/views/contexts/_context.m.erb b/app/views/contexts/_context.m.erb index 6e9174af..14aa8b27 100644 --- a/app/views/contexts/_context.m.erb +++ b/app/views/contexts/_context.m.erb @@ -1,11 +1,14 @@ <% +new_context_todo_params = {:format => :m} +new_context_todo_params[:from_context] = context.id + # select actions from this context @not_done = @not_done_todos.select {|t| t.context_id == context.id } if not @not_done.empty? # only show a context when there are actions in it -%> -