Updated margins on radio buttons
Flat UI style radio buttons on account page
This commit is contained in:
@ -1189,9 +1189,4 @@ input[type="color"],
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.radio + .radio,
|
||||
.checkbox + .checkbox {
|
||||
margin-top: 10px;
|
||||
}
|
@ -37,7 +37,10 @@ body {
|
||||
border-color: #333;
|
||||
}
|
||||
|
||||
.form-horizontal .radio {
|
||||
.form-horizontal .radio,
|
||||
.form-horizontal .radio-inline {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 12px;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
|
@ -26,12 +26,12 @@ block content
|
||||
.form-group
|
||||
label.col-sm-2.control-label(for='name') Gender
|
||||
.col-sm-4
|
||||
label.radio-inline
|
||||
input(checked=user.profile.gender=='male', name='gender', type='radio', value='male')
|
||||
span Male
|
||||
label.radio-inline
|
||||
input(checked=user.profile.gender=='female', name='gender', type='radio', value='female')
|
||||
span Female
|
||||
label.radio
|
||||
input(type='radio', checked=user.profile.gender=='male', name='gender', value='male', data-toggle='radio')
|
||||
| Male
|
||||
label.radio
|
||||
input(type='radio', checked=user.profile.gender=='female', name='gender', value='female', data-toggle='radio')
|
||||
| Female
|
||||
.form-group
|
||||
// TODO: differentiate between username as email
|
||||
label.col-sm-2.control-label(for='email') Email
|
||||
|
Reference in New Issue
Block a user