layout progress bar update

This commit is contained in:
Mark Moser 2016-07-28 08:22:05 -05:00
parent 79e1797295
commit 8623fe0d93
4 changed files with 7 additions and 5 deletions

View File

@ -1,8 +1,10 @@
<% <%
content_for :title, "Skills Assessment" content_for :title, "Skills Assessment"
content_for :category, @question.category content_for :category, @question.category
content_for :summary, true if @status.on_summary
content_for :footer_title, "Skills Assessment" content_for :footer_title, "Skills Assessment"
%> %>
<form method="post" action="/question"> <form method="post" action="/question">
<main class="questions_tpl"> <main class="questions_tpl">
<h2 class="question-text"><%= @question.question %></h2> <h2 class="question-text"><%= @question.question %></h2>

View File

@ -2,4 +2,3 @@
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. will contact you if we would like to set up an interview.
</p> </p>

View File

@ -14,8 +14,7 @@
<div class="layout"> <div class="layout">
<% if content_for?(:category) %> <% if content_for?(:category) %>
<header> <header <%= raw("class=\"no-progressbar\"") if content_for?(:summary) %>>
-- NO PROGRESS BAR ON EDITS --
<div class="page-title slash-left"> <div class="page-title slash-left">
<div>Section: <%= yield(:category) %></div> <div>Section: <%= yield(:category) %></div>
</div> </div>
@ -30,7 +29,9 @@
</header> </header>
<% end %> <% end %>
<%= yield %> <%= yield %>
</div> </div>
<%= render partial: 'layouts/footer' %> <%= render partial: 'layouts/footer' %>
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>

View File

@ -86,6 +86,6 @@ fed10:
question: StarWars or Star Trek? question: StarWars or Star Trek?
category: Performance category: Performance
input_type: checkbox 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 sort: 9
active: true active: true