Adjusts language
This commit is contained in:
parent
7f72e6eabd
commit
f83add726b
@ -18,7 +18,7 @@ class RecruiterController < ApplicationController
|
|||||||
RecruiterMailer.candidate_created(@candidate).deliver_now
|
RecruiterMailer.candidate_created(@candidate).deliver_now
|
||||||
redirect_to recruiter_path, flash: { notice: "Sucessfully created candidate #{@candidate.name}" }
|
redirect_to recruiter_path, flash: { notice: "Sucessfully created candidate #{@candidate.name}" }
|
||||||
else
|
else
|
||||||
flash[:error] = "Failed to save Candidate."
|
flash[:error] = "Failed to save candidate."
|
||||||
render :form
|
render :form
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -34,7 +34,7 @@ class RecruiterController < ApplicationController
|
|||||||
session[:user] = recruiter.to_i
|
session[:user] = recruiter.to_i
|
||||||
redirect_to recruiter_path
|
redirect_to recruiter_path
|
||||||
else
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ class ReviewController < ApplicationController
|
|||||||
session[:user] = reviewer.to_i
|
session[:user] = reviewer.to_i
|
||||||
redirect_to review_path
|
redirect_to review_path
|
||||||
else
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
module ApplicationHelper
|
module ApplicationHelper
|
||||||
def experience_options val
|
def experience_options val
|
||||||
options_for_select([
|
options_for_select([
|
||||||
["Please Select", ""],
|
["Please select", ""],
|
||||||
["0-3 Years", "0-3"],
|
["0-3 Years", "0-3"],
|
||||||
["4-6 Years", "4-6"],
|
["4-6 Years", "4-6"],
|
||||||
["7-9 Years", "7-9"],
|
["7-9 Years", "7-9"],
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<main class="intro_tpl">
|
<main class="intro_tpl">
|
||||||
<h1 class="prft-heading">Let's Get Started</h1>
|
<h1 class="prft-heading">Let's Get Started</h1>
|
||||||
<p>
|
<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>
|
</p>
|
||||||
|
|
||||||
<%= form_tag(validate_candidate_path) do %>
|
<%= form_tag(validate_candidate_path) do %>
|
||||||
@ -15,6 +15,6 @@
|
|||||||
<div class="error"><%= flash[:error] %></div>
|
<div class="error"><%= flash[:error] %></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
<button type="submit">Login</button>
|
<button type="submit">Log in</button>
|
||||||
<% end %>
|
<% end %>
|
||||||
</main>
|
</main>
|
||||||
|
@ -28,10 +28,10 @@
|
|||||||
<% else %>
|
<% else %>
|
||||||
|
|
||||||
<div class="btn-container-left">
|
<div class="btn-container-left">
|
||||||
<input type="submit" name="save" value="Save">
|
<input type="submit" class="secondary-btn" name="save" value="Save">
|
||||||
</div>
|
</div>
|
||||||
<div class="btn-container-right">
|
<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 →">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<main class="intro_tpl">
|
<main class="intro_tpl">
|
||||||
<h1 class="prft-heading">Welcome Back</h1>
|
<h1 class="prft-heading">Welcome Back</h1>
|
||||||
|
|
||||||
<p>Hello <%= current_candidate.name %></p>
|
<p>Hello, <%= current_candidate.name %>!</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
We are ready to pick up where you left off.
|
We are ready to pick up where you left off.
|
||||||
|
@ -9,19 +9,26 @@
|
|||||||
<tr>
|
<tr>
|
||||||
|
|
||||||
<td style="text-align:center; padding:50px;">
|
<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>
|
</td>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
||||||
<td style="padding:15px 20px; background-color:#cdcdcd; text-align:center;">
|
<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.
|
Please visit <%= link_to nil, login_url(@candidate.test_hash) %> to get started.
|
||||||
</h4>
|
</h4> -->
|
||||||
<p>If you would rather, visit <%= link_to nil, root_url %>
|
<p>
|
||||||
and enter the above Candidate ID to being your test.</p>
|
Or, visit <%= root_url %> and enter your Test ID to begin your test.
|
||||||
<h5>We will reach back to you once we have evaluated your answers. Good luck!</h5>
|
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>
|
</td>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
PERFICIENT DIGITAL - Skills Assessment Test
|
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.
|
Or, visit <%= root_url %> and enter your Test ID to begin your test.
|
||||||
Your Candidate ID is: <%= @candidate.test_hash %>
|
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!
|
Good luck!
|
||||||
|
@ -16,6 +16,6 @@
|
|||||||
<%= form.password_field :password %>
|
<%= form.password_field :password %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%= submit_tag "Login" %>
|
<%= submit_tag "Log in" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</main>
|
</main>
|
||||||
|
Loading…
Reference in New Issue
Block a user