adds note to finish_signup

This commit is contained in:
kikito
2016-04-18 16:07:53 +02:00
parent 3504a27ca3
commit 3637c95fe2
3 changed files with 6 additions and 0 deletions

View File

@@ -3,6 +3,10 @@
<%= form_for current_user, as: :user, url: do_finish_signup_path, html: { role: 'form'} do |f| %>
<%= render 'shared/errors', resource: current_user %>
<div class='callout primary'>
<%= t("omniauth.finish_signup.username_warning") %>
</div>
<% if current_user.errors.include? :username %>
<%= f.text_field :username, placeholder: t("devise_views.users.registrations.new.username_label") %>
<% else %>