This commit is contained in:
jomo
2016-06-21 23:05:59 +02:00
4 changed files with 12 additions and 4 deletions

View File

@@ -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>
</div>