summaryrefslogtreecommitdiff
path: root/app/views/projects/edit.html.haml
diff options
context:
space:
mode:
authorJacopo <beschi.jacopo@gmail.com>2018-02-15 15:09:57 +0100
committerJacopo <beschi.jacopo@gmail.com>2018-02-15 18:17:23 +0100
commit7d79b5ccc4bb5f51bf04f80083c31127f70c06ca (patch)
treef47514de596e3973a56e332234513d6729dd6f98 /app/views/projects/edit.html.haml
parent02d9f54f197a28f2d102b7346b1212edb7ddc117 (diff)
downloadgitlab-ce-7d79b5ccc4bb5f51bf04f80083c31127f70c06ca.tar.gz
Fixes Renaming repository (project[name]) fails on 2nd try whend the validation has failed
Diffstat (limited to 'app/views/projects/edit.html.haml')
-rw-r--r--app/views/projects/edit.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml
index e16d132f869..0931ceb1512 100644
--- a/app/views/projects/edit.html.haml
+++ b/app/views/projects/edit.html.haml
@@ -58,7 +58,7 @@
- if @project.avatar?
%hr
= link_to _('Remove avatar'), project_avatar_path(@project), data: { confirm: _("Avatar will be removed. Are you sure?") }, method: :delete, class: "btn btn-danger btn-inverted"
- = f.submit 'Save changes', class: "btn btn-success"
+ = f.submit 'Save changes', class: "btn btn-success js-btn-save-general-project-settings"
%section.settings.sharing-permissions.no-animate{ class: ('expanded' if expanded) }
.settings-header