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 :category, @question.category
content_for :summary, true if @status.on_summary
content_for :footer_title, "Skills Assessment"
%>
<form method="post" action="/question">
<main class="questions_tpl">
<h2 class="question-text"><%= @question.question %></h2>

View File

@ -1,5 +1,4 @@
<p>
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.
</p>

View File

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

View File

@ -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