From 4db66190dae6e597f42b721691f76268ca9c80de Mon Sep 17 00:00:00 2001 From: kevinzluo Date: Sun, 9 Dec 2018 22:05:59 -0600 Subject: [PATCH 1/2] Add login modal to add activity and ask a question on wiki pages --- app/views/grids/_notes.html.erb | 55 +++++++++++++++++++++++++++++++-- 1 file changed, 53 insertions(+), 2 deletions(-) diff --git a/app/views/grids/_notes.html.erb b/app/views/grids/_notes.html.erb index d2f1134083..df2be15ec9 100644 --- a/app/views/grids/_notes.html.erb +++ b/app/views/grids/_notes.html.erb @@ -65,11 +65,30 @@ <% if type == "questions" || tagname.include?('question:') %> -

Ask a question  or help answer future questions

+

Ask a question  or help answer future questions

+ <% elsif type == "activity" || tagname.include?('activity:') %> -

Add an activity  or request an activity

+

Add an activity  or request an activity

Activities should include a materials list, costs and a step-by-step guide to construction with photos. Learn what makes a good activity here.

+ <% end %>