Commit b119f78f by Thanh Hung Pham

fix focus

parent 2dd294bb
......@@ -7,13 +7,13 @@
<div class="form-group">
<%= f.label :email %>
<%= f.email_field :email, autofocus: true, readonly: true, class: 'form-control' %>
<%= f.email_field :email, readonly: true, class: 'form-control' %>
<%= f.hidden_field :id %>
</div>
<div class="form-group">
<%= f.label :fullname %>
<%= f.text_field :fullname, class: 'form-control' %>
<%= f.text_field :fullname, autofocus: true, class: 'form-control' %>
</div>
<div class="form-group">
......
......@@ -3,7 +3,7 @@
en:
devise:
confirmations:
confirmed: "Your email address has been successfully confirmed."
confirmed: "Your email address has been successfully confirmed. Please update information to complete!"
send_instructions: "You will receive an email with instructions for how to confirm your email address in a few minutes."
send_paranoid_instructions: "If your email address exists in our database, you will receive an email with instructions for how to confirm your email address in a few minutes."
failure:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment