diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-11 13:05:57 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-11 13:05:57 -0500 |
commit | df8aa61a94b8e70526fb78aed75ada1e390c7ce1 (patch) | |
tree | 0c0d0183cc38bbd815eb1d3c2f271d2481d41589 /app/views/shared/issuable/form | |
parent | b95d76d217ad5a99093c2e10ac4a9289200dad48 (diff) | |
download | gitlab-ce-df8aa61a94b8e70526fb78aed75ada1e390c7ce1.tar.gz |
[skip ci] Convert .checkbox to .form-check
Diffstat (limited to 'app/views/shared/issuable/form')
-rw-r--r-- | app/views/shared/issuable/form/_contribution.html.haml | 2 | ||||
-rw-r--r-- | app/views/shared/issuable/form/_merge_params.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/issuable/form/_contribution.html.haml b/app/views/shared/issuable/form/_contribution.html.haml index de508278d7c..001baa0afc9 100644 --- a/app/views/shared/issuable/form/_contribution.html.haml +++ b/app/views/shared/issuable/form/_contribution.html.haml @@ -11,7 +11,7 @@ .control-label = _('Contribution') .col-sm-10 - .checkbox + .form-check = form.label :allow_maintainer_to_push do = form.check_box :allow_maintainer_to_push, disabled: !issuable.can_allow_maintainer_to_push?(current_user) = _('Allow edits from maintainers.') diff --git a/app/views/shared/issuable/form/_merge_params.html.haml b/app/views/shared/issuable/form/_merge_params.html.haml index 8f6509a8ce8..24bd2b48fe5 100644 --- a/app/views/shared/issuable/form/_merge_params.html.haml +++ b/app/views/shared/issuable/form/_merge_params.html.haml @@ -10,7 +10,7 @@ .form-group .col-sm-10.col-sm-offset-2 - if issuable.can_remove_source_branch?(current_user) - .checkbox + .form-check = label_tag 'merge_request[force_remove_source_branch]' do = hidden_field_tag 'merge_request[force_remove_source_branch]', '0', id: nil = check_box_tag 'merge_request[force_remove_source_branch]', '1', issuable.force_remove_source_branch? |