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
6d8d88939b17
Commit
d08bb4b3
authored
Oct 27, 2014
by
Marin Jankovski
Browse files
Add project name to rename repository section
parent
24acbd63fba0
Changes
1
Show whitespace changes
Inline
Side-by-side
app/views/projects/edit.html.haml
View file @
6d8d8893
...
@@ -13,7 +13,11 @@
...
@@ -13,7 +13,11 @@
=
f
.
label
:name
,
class:
'control-label'
do
=
f
.
label
:name
,
class:
'control-label'
do
Project name
Project name
.col-sm-10
.col-sm-10
=
f
.
text_field
:name
,
placeholder:
"Example Project"
,
class:
"form-control"
=
f
.
text_field
:name
,
placeholder:
"Example Project"
,
class:
"form-control"
,
readonly:
true
%p
.hint
Rename the project at
%strong
Rename repository
section.
.form-group
.form-group
...
@@ -124,6 +128,12 @@
...
@@ -124,6 +128,12 @@
.errors-holder
.errors-holder
.panel-body
.panel-body
=
form_for
(
@project
,
html:
{
class:
'form-horizontal'
})
do
|
f
|
=
form_for
(
@project
,
html:
{
class:
'form-horizontal'
})
do
|
f
|
.form-group.project_name_holder
=
f
.
label
:name
,
class:
'control-label'
do
Project name
.col-sm-9
.form-group
=
f
.
text_field
:name
,
placeholder:
"Example Project"
,
class:
"form-control"
.form-group
.form-group
=
f
.
label
:path
,
class:
'control-label'
do
=
f
.
label
:path
,
class:
'control-label'
do
%span
Path
%span
Path
...
...
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