Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-10-03 02:13:23 +0400
committerCiro Santilli <ciro.santilli@gmail.com>2014-10-08 12:01:07 +0400
commit166c215a75b50ce62fd40297f52e366df7dc9103 (patch)
tree9d660e3b1c5108e000ec788eaf7dc2c87278dacd /app/views/projects/_commit_button.html.haml
parent51ed8b7edd119897a4a0b2f5948d049dfc8691a4 (diff)
Make new and edit file submit more uniform
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}