Skip to content

Commit

Permalink
Be consistent in modal buttons
Browse files Browse the repository at this point in the history
Use the same modal buttons as the other forms in which we create records
  • Loading branch information
dmarcoux committed Dec 6, 2018
1 parent 7919c5f commit 00be4e8
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 00be4e8

Please sign in to comment.