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

@@ -654,6 +654,7 @@ tr.spacer {
font-weight: bold;
padding: 4px 10px;
display: inline-block;
vertical-align: middle;
border-radius: 3px;
margin: 10px 0;
}
@@ -939,6 +940,10 @@ img {
color: #888;
}
.inline-block {
display: inline-block;
}
#footer {
padding: 30px 0;
width: 1600px;

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 %>