split login/welcome and added direct link welcome
This commit is contained in:
20
app/views/candidate/login.html.erb
Normal file
20
app/views/candidate/login.html.erb
Normal file
@ -0,0 +1,20 @@
|
||||
<% content_for :title, "Skills Assessment" %>
|
||||
|
||||
<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.
|
||||
</p>
|
||||
|
||||
<%= form_tag(validate_candidate_path) do %>
|
||||
<div class="form-group">
|
||||
<label for="userid">What's your Test ID?</label>
|
||||
<input type="text" id="test_id" name="test_id" required/>
|
||||
|
||||
<% if flash[:error].present? %>
|
||||
<div class="error"><%= flash[:error] %></div>
|
||||
<% end %>
|
||||
</div>
|
||||
<button type="submit">Login</button>
|
||||
<% end %>
|
||||
</main>
|
Reference in New Issue
Block a user