Adjusts text in form labels
This commit is contained in:
parent
f83add726b
commit
2cc1c0dfff
@ -14,21 +14,21 @@
|
|||||||
|
|
||||||
<%= form_for @candidate, url: create_candidate_path do |form| %>
|
<%= form_for @candidate, url: create_candidate_path do |form| %>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<%= form.label :name %>
|
<%= form.label :name, "Candidate name" %>
|
||||||
<%= form.text_field :name %>
|
<%= form.text_field :name %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<%= form.label :email %>
|
<%= form.label :email, "Candidate email" %>
|
||||||
<%= form.email_field :email %>
|
<%= form.email_field :email %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<%= form.label :experience %>
|
<%= form.label :experience, "Years of experience" %>
|
||||||
<%= form.select :experience, experience_options(@candidate.experience), include_blank: false %>
|
<%= form.select :experience, experience_options(@candidate.experience), include_blank: false %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%= form.hidden_field :quiz_id, { value: Quiz.first.to_i } %>
|
<%= form.hidden_field :quiz_id, { value: Quiz.first.to_i } %>
|
||||||
<%= submit_tag "Save" %>
|
<%= submit_tag "Create" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</main>
|
</main>
|
||||||
|
Loading…
Reference in New Issue
Block a user