Adjusts language

This commit is contained in:
Jennifer Siegfried 2016-08-04 07:51:54 -06:00
parent 7f72e6eabd
commit f83add726b
9 changed files with 27 additions and 20 deletions

View File

@ -18,7 +18,7 @@ class RecruiterController < ApplicationController
RecruiterMailer.candidate_created(@candidate).deliver_now
redirect_to recruiter_path, flash: { notice: "Sucessfully created candidate #{@candidate.name}" }
else
flash[:error] = "Failed to save Candidate."
flash[:error] = "Failed to save candidate."
render :form
end
end
@ -34,7 +34,7 @@ class RecruiterController < ApplicationController
session[:user] = recruiter.to_i
redirect_to recruiter_path
else
redirect_to recruiter_login_path, flash: { error: "Sorry, incorrect email or password." }
redirect_to recruiter_login_path, flash: { error: "Sorry, incorrect email or password. Please try again." }
end
end

View File

@ -22,7 +22,7 @@ class ReviewController < ApplicationController
session[:user] = reviewer.to_i
redirect_to review_path
else
redirect_to review_login_path, flash: { error: "Sorry, incorrect email or password." }
redirect_to review_login_path, flash: { error: "Sorry, incorrect email or password. Please try again." }
end
end

View File

@ -1,7 +1,7 @@
module ApplicationHelper
def experience_options val
options_for_select([
["Please Select", ""],
["Please select", ""],
["0-3 Years", "0-3"],
["4-6 Years", "4-6"],
["7-9 Years", "7-9"],

View File

@ -3,7 +3,7 @@
<main class="intro_tpl">
<h1 class="prft-heading">Let's Get Started</h1>
<p>
Hey there! Give us your test id, and we'll get you started.
Hey there! Give us your Test ID, and we'll get you started.
</p>
<%= form_tag(validate_candidate_path) do %>

View File

@ -28,10 +28,10 @@
<% else %>
<div class="btn-container-left">
<input type="submit" name="save" value="Save">
<input type="submit" class="secondary-btn" name="save" value="Save">
</div>
<div class="btn-container-right">
<input type="submit" name="submit" value="Next">
<input type="submit" class="tertiary-btn arrow-btn-right" name="submit" value="Next &rarr;">
</div>
<% end %>

View File

@ -3,7 +3,7 @@
<main class="intro_tpl">
<h1 class="prft-heading">Welcome Back</h1>
<p>Hello <%= current_candidate.name %></p>
<p>Hello, <%= current_candidate.name %>!</p>
<p>
We are ready to pick up where you left off.

View File

@ -9,19 +9,26 @@
<tr>
<td style="text-align:center; padding:50px;">
<h1>Your Candidate ID is <i><%= @candidate.test_hash %></i></h1>
<h1>
Please visit <%= link_to nil, login_url(@candidate.test_hash) %> to begin your test.
</h1>
<!-- <h1>Your Test ID is <i><%= @candidate.test_hash %></i></h1> -->
</td>
</tr>
<tr>
<td style="padding:15px 20px; background-color:#cdcdcd; text-align:center;">
<h4>
<!-- <h4>
Please visit <%= link_to nil, login_url(@candidate.test_hash) %> to get started.
</h4>
<p>If you would rather, visit <%= link_to nil, root_url %>
and enter the above Candidate ID to being your test.</p>
<h5>We will reach back to you once we have evaluated your answers. Good luck!</h5>
</h4> -->
<p>
Or, visit <%= root_url %> and enter your Test ID to begin your test.
Your Test ID is: <strong><%= @candidate.test_hash %></strong>.
</p>
<!-- <p>If you would rather, visit <%= link_to nil, root_url %>
and enter the above Candidate ID to begin your test.</p> -->
<h5>Once we have evaluated your answers, your recruiter will be in touch. Good luck!</h5>
</td>
</tr>

View File

@ -1,9 +1,9 @@
PERFICIENT DIGITAL - Skills Assessment Test
Please visit <%= login_url(@candidate.test_hash) %> to get started.
Please visit <%= login_url(@candidate.test_hash) %> to begin your test.
Or, visit <%= root_url %> and enter your Candidate ID to being your test.
Your Candidate ID is: <%= @candidate.test_hash %>
Or, visit <%= root_url %> and enter your Test ID to begin your test.
Your Test ID is: <%= @candidate.test_hash %>
We will reach back to you once we have evaluated your answers.
Once we have evaluated your answers, your recruiter will be in touch.
Good luck!