Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
64f26253d848
Commit
a7c8ce6a
authored
Mar 06, 2012
by
Abhi Devireddy
Browse files
Removed hardcoded SSH Username on project create/edit form
parent
cb38df4cd097
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/views/admin/projects/_form.html.haml
View file @
64f26253
...
...
@@ -13,7 +13,7 @@
Path
.input
.input-prepend
%span
.add-on
=
"
git
@
#{
GIT_HOST
[
"host"
]
}
:"
%span
.add-on
=
"
#{
GIT_HOST
[
"git_user"
]
}
@
#{
GIT_HOST
[
"host"
]
}
:"
=
f
.
text_field
:path
,
:placeholder
=>
"example_project"
,
:disabled
=>
!
@admin_project
.
new_record?
.clearfix
=
f
.
label
:code
do
...
...
app/views/projects/_form.html.haml
View file @
64f26253
...
...
@@ -12,7 +12,7 @@
Path
.input
.input-prepend
%span
.add-on
=
"
git
@
#{
GIT_HOST
[
"host"
]
}
:"
%span
.add-on
=
"
#{
GIT_HOST
[
"git_user"
]
}
@
#{
GIT_HOST
[
"host"
]
}
:"
=
f
.
text_field
:path
,
:placeholder
=>
"example_project"
,
:disabled
=>
!
@project
.
new_record?
.clearfix
=
f
.
label
:code
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment