fix resend button style

This commit is contained in:
jomo
2016-06-21 23:26:56 +02:00
parent e2c413a8b1
commit eabf773ba3
2 changed files with 6 additions and 1 deletions

View File

@@ -23,7 +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" %>
<%= button_to "Resend the confirmation mail", resend_mail_user_path, class: "btn dark", form_class: "inline-block", data: {confirm: "Did you check your spam folder?"} %>
<% else %>
<span class="user-unconfirmed">This user hasn't confirmed their email yet!</span>
<% end %>