Commit e15295bd authored by Michael Le's avatar Michael Le Committed by Savas Vedova

Move "Save" in separate row for Profile and Preference settings pages

parent 5ef9b4a8
...@@ -127,9 +127,8 @@ export default { ...@@ -127,9 +127,8 @@ export default {
:config="$options.integrationViewConfigs[view.name]" :config="$options.integrationViewConfigs[view.name]"
/> />
</div> </div>
<div class="col-lg-4 profile-settings-sidebar"></div> <div class="col-sm-12">
<div class="col-lg-8"> <hr />
<div class="form-group">
<gl-button <gl-button
category="primary" category="primary"
variant="confirm" variant="confirm"
...@@ -142,5 +141,4 @@ export default { ...@@ -142,5 +141,4 @@ export default {
</gl-button> </gl-button>
</div> </div>
</div> </div>
</div>
</template> </template>
...@@ -122,8 +122,7 @@ ...@@ -122,8 +122,7 @@
= f.check_box :include_private_contributions, label: s_('Profiles|Include private contributions on my profile'), wrapper_class: 'mb-2', inline: true = f.check_box :include_private_contributions, label: s_('Profiles|Include private contributions on my profile'), wrapper_class: 'mb-2', inline: true
.help-block .help-block
= s_("Profiles|Choose to show contributions of private projects on your public profile without any project, repository or organization information") = s_("Profiles|Choose to show contributions of private projects on your public profile without any project, repository or organization information")
.row.gl-justify-content-end.gl-mt-5 %hr
.col-lg-8.gl-display-flex
= f.submit s_("Profiles|Update profile settings"), class: 'gl-button btn btn-confirm gl-mr-3' = f.submit s_("Profiles|Update profile settings"), class: 'gl-button btn btn-confirm gl-mr-3'
= link_to _("Cancel"), user_path(current_user), class: 'gl-button btn btn-default btn-cancel' = link_to _("Cancel"), user_path(current_user), class: 'gl-button btn btn-default btn-cancel'
......
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