summaryrefslogtreecommitdiff
path: root/app/views/projects/_commit_button.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/_commit_button.html.haml')
-rw-r--r--app/views/projects/_commit_button.html.haml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/projects/_commit_button.html.haml b/app/views/projects/_commit_button.html.haml
new file mode 100644
index 00000000000..fd8320adb8d
--- /dev/null
+++ b/app/views/projects/_commit_button.html.haml
@@ -0,0 +1,9 @@
+.form-actions
+ .commit-button-annotation
+ = button_tag 'Commit Changes',
+ class: 'btn commit-btn js-commit-button btn-create'
+ .message
+ to branch
+ %strong= ref
+ = link_to 'Cancel', cancel_path,
+ class: 'btn btn-cancel', data: {confirm: leave_edit_message}