From 8623fe0d934a930b4fca2361654ea7a5e94fa4eb Mon Sep 17 00:00:00 2001 From: Mark Moser Date: Thu, 28 Jul 2016 08:22:05 -0500 Subject: [PATCH] layout progress bar update --- app/views/candidate/question.html.erb | 2 ++ app/views/candidate/thankyou.html.erb | 3 +-- app/views/layouts/application.html.erb | 5 +++-- test/fixtures/questions.yml | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/app/views/candidate/question.html.erb b/app/views/candidate/question.html.erb index be9a415..081201b 100644 --- a/app/views/candidate/question.html.erb +++ b/app/views/candidate/question.html.erb @@ -1,8 +1,10 @@ <% content_for :title, "Skills Assessment" content_for :category, @question.category + content_for :summary, true if @status.on_summary content_for :footer_title, "Skills Assessment" %> +

<%= @question.question %>

diff --git a/app/views/candidate/thankyou.html.erb b/app/views/candidate/thankyou.html.erb index 4f04a58..fd2f3fc 100644 --- a/app/views/candidate/thankyou.html.erb +++ b/app/views/candidate/thankyou.html.erb @@ -1,5 +1,4 @@

- Your answers have been submitted. We will review and your recruiter + Your answers have been submitted. We will review and your recruiter will contact you if we would like to set up an interview.

- diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 1515cdc..4198d02 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -14,8 +14,7 @@
<% if content_for?(:category) %> -
- -- NO PROGRESS BAR ON EDITS -- +
>
Section: <%= yield(:category) %>
@@ -30,7 +29,9 @@
<% end %> + <%= yield %> +
<%= render partial: 'layouts/footer' %> <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> diff --git a/test/fixtures/questions.yml b/test/fixtures/questions.yml index 8ecfbc1..6302ed7 100644 --- a/test/fixtures/questions.yml +++ b/test/fixtures/questions.yml @@ -86,6 +86,6 @@ fed10: question: StarWars or Star Trek? category: Performance input_type: checkbox - input_options: ["Live long and prosper", "Who you calling Scruffy?", "J.J. Abrams"] + input_options: ["Live long and prosper", "Who ya gonna call?", "Who you calling Scruffy?", "J.J. Abrams"] sort: 9 active: true