Skip to content

Commit

Permalink
Merge pull request #6485 from dmarcoux/consistent-modal-buttons
Browse files Browse the repository at this point in the history
Be consistent in modal buttons
  • Loading branch information
Dany Marcoux committed Dec 6, 2018
2 parents eda30e7 + 00be4e8 commit fb6978a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
= render partial: 'shared/package_branch_form', locals: { show_project_field: false, target_project: project,
package: nil, revision: nil }
.modal-footer
= submit_tag 'Create Branch', class: 'btn btn-primary'
= render partial: 'webui2/shared/dialog_action_buttons'

:javascript
autocomleteBranchPackageName('#{autocomplete_packages_path}');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@
= check_box_tag :disable_publishing, 1, false, class: 'custom-control-input', type: 'checkbox'
%label.custom-control-label{ for: 'disable_publishing' } Disable build results publishing
.modal-footer
= submit_tag 'Create package', class: 'btn btn-primary'
= render partial: 'webui2/shared/dialog_action_buttons'

0 comments on commit fb6978a

Please sign in to comment.