summaryrefslogtreecommitdiff
path: root/app/views/projects/edit.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-11-13 16:13:40 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-11-13 16:13:40 +0200
commit64edb27aa95cef237564b2f6dad38ba6208f3745 (patch)
tree1c1812ea8c7594bf5f047afc88202f886574de5c /app/views/projects/edit.html.haml
parent31239d116a873bd6110c3995821df66c9720663a (diff)
downloadgitlab-ce-64edb27aa95cef237564b2f6dad38ba6208f3745.tar.gz
Extend Gitlab#default_regex. Dont allow project path ends with .git
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/projects/edit.html.haml')
-rw-r--r--app/views/projects/edit.html.haml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml
index ebe58581533..3afc607d90f 100644
--- a/app/views/projects/edit.html.haml
+++ b/app/views/projects/edit.html.haml
@@ -144,7 +144,9 @@
%span Path
.controls
.control-group
- = f.text_field :path
+ .input-append
+ = f.text_field :path
+ %span.add-on .git
%ul
%li Be careful. Renaming a project's repository can have unintended side effects.
%li You will need to update your local repositories to point to the new location.