diff --git a/app/controllers/contexts_controller.rb b/app/controllers/contexts_controller.rb index 6261a684..96c2a10b 100644 --- a/app/controllers/contexts_controller.rb +++ b/app/controllers/contexts_controller.rb @@ -14,6 +14,7 @@ class ContextsController < ApplicationController @active_contexts = current_user.contexts.active(true) @hidden_contexts = current_user.contexts.hidden(true) @count = @active_contexts.size + @hidden_contexts.size + @new_context = current_user.contexts.build init_not_done_counts(['context']) respond_to do |format| format.html &render_contexts_html diff --git a/app/views/contexts/_new_context_form.rhtml b/app/views/contexts/_new_context_form.rhtml new file mode 100644 index 00000000..1ce509ea --- /dev/null +++ b/app/views/contexts/_new_context_form.rhtml @@ -0,0 +1,28 @@ +