layout progress bar update
This commit is contained in:
		@@ -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>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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>
 | 
				
			||||||
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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' %>
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								test/fixtures/questions.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								test/fixtures/questions.yml
									
									
									
									
										vendored
									
									
								
							@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user