fix resend button style
This commit is contained in:
@@ -654,6 +654,7 @@ tr.spacer {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding: 4px 10px;
|
padding: 4px 10px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
vertical-align: middle;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
margin: 10px 0;
|
margin: 10px 0;
|
||||||
}
|
}
|
||||||
@@ -939,6 +940,10 @@ img {
|
|||||||
color: #888;
|
color: #888;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.inline-block {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
#footer {
|
#footer {
|
||||||
padding: 30px 0;
|
padding: 30px 0;
|
||||||
width: 1600px;
|
width: 1600px;
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
<% if !@user.confirmed? %>
|
<% if !@user.confirmed? %>
|
||||||
<% if @user.is?(current_user) %>
|
<% if @user.is?(current_user) %>
|
||||||
<span class="user-unconfirmed">Please confirm your email <u><%= @user.email %></u> !</span>
|
<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 %>
|
<% else %>
|
||||||
<span class="user-unconfirmed">This user hasn't confirmed their email yet!</span>
|
<span class="user-unconfirmed">This user hasn't confirmed their email yet!</span>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
Reference in New Issue
Block a user