Unverified Commit 1faddbc9 authored by Benjamin Neff's avatar Benjamin Neff
Browse files

Fix "Change email" button position on mobile-ui

closes #8193
parent 98e70c82
......@@ -145,14 +145,6 @@
}
}
#email-form{
padding: 0;
.form-group{
margin-left: 0;
margin-right: 0;
}
}
#birth-date{
text-align: center;
select{
......
......@@ -20,10 +20,11 @@
= form_for "user", url: edit_user_path,
html: {method: :put, class: "form-horizontal col-md-12", id: "email-form"} do |f|
html: {method: :put, class: "form-horizontal", id: "email-form"} do |f|
= f.error_messages
.form-group
= f.text_field :email, value: @user.unconfirmed_email || @user.email, class: "col-md-7 form-control"
.col-sm-12
= f.text_field :email, value: @user.unconfirmed_email || @user.email, class: "form-control"
.clearfix= f.submit t(".change_email"), class: "btn btn-primary pull-right"
- if @user.unconfirmed_email.present?
%div= t(".email_awaiting_confirmation", email: @user.email, unconfirmed_email: @user.unconfirmed_email)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment