fix resend button style
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 %>
|
||||
|
||||
Reference in New Issue
Block a user