diff options
Diffstat (limited to 'app/views/users/show.html.erb')
-rw-r--r-- | app/views/users/show.html.erb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 56ece88..eabe78e 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -23,6 +23,7 @@ <% if !@user.confirmed? %> <% if @user.is?(current_user) %> <span class="user-unconfirmed">Please confirm your email <u><%= @user.email %></u> !</span> + <%= button_to "Resend the confirmation mail", resend_mail_user_path, class: "btn red" %> <% else %> <span class="user-unconfirmed">This user hasn't confirmed their email yet!</span> <% end %> @@ -107,4 +108,4 @@ <% else %> <%= render_md(@user.about).html_safe %> <% end %> -</div>
\ No newline at end of file +</div> |