Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
36208490
Commit
36208490
authored
Jun 10, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve project edit form
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
e407a481
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
17 deletions
+25
-17
app/views/projects/edit.html.haml
app/views/projects/edit.html.haml
+25
-17
No files found.
app/views/projects/edit.html.haml
View file @
36208490
...
...
@@ -6,7 +6,7 @@
Project settings
%hr
.panel-body
=
form_for
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
],
remote:
true
,
html:
{
multipart:
true
,
class:
"edit_project form-horizontal"
},
authenticity_token:
true
do
|
f
|
=
form_for
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
],
remote:
true
,
html:
{
multipart:
true
,
class:
"edit_project form-horizontal
fieldset-form
"
},
authenticity_token:
true
do
|
f
|
%fieldset
.form-group.project_name_holder
...
...
@@ -41,32 +41,40 @@
%legend
Features:
.form-group
=
f
.
label
:issues_enabled
,
"Issues"
,
class:
'control-label'
.col-sm-10
.col-sm-offset-2.col-sm-10
.checkbox
=
f
.
check_box
:issues_enabled
%span
.descr
Lightweight issue tracking system for this project
=
f
.
label
:issues_enabled
do
=
f
.
check_box
:issues_enabled
%strong
Issues
%br
%span
.descr
Lightweight issue tracking system for this project
.form-group
=
f
.
label
:merge_requests_enabled
,
"Merge Requests"
,
class:
'control-label'
.col-sm-10
.col-sm-offset-2.col-sm-10
.checkbox
=
f
.
check_box
:merge_requests_enabled
%span
.descr
Submit changes to be merged upstream.
=
f
.
label
:merge_requests_enabled
do
=
f
.
check_box
:merge_requests_enabled
%strong
Merge Requests
%br
%span
.descr
Submit changes to be merged upstream.
.form-group
=
f
.
label
:wiki_enabled
,
"Wiki"
,
class:
'control-label'
.col-sm-10
.col-sm-offset-2.col-sm-10
.checkbox
=
f
.
check_box
:wiki_enabled
%span
.descr
Pages for project documentation
=
f
.
label
:wiki_enabled
do
=
f
.
check_box
:wiki_enabled
%strong
Wiki
%br
%span
.descr
Pages for project documentation
.form-group
=
f
.
label
:snippets_enabled
,
"Snippets"
,
class:
'control-label'
.col-sm-10
.col-sm-offset-2.col-sm-10
.checkbox
=
f
.
check_box
:snippets_enabled
%span
.descr
Share code pastes with others out of git repository
=
f
.
label
:snippets_enabled
do
=
f
.
check_box
:snippets_enabled
%strong
Snippets
%br
%span
.descr
Share code pastes with others out of git repository
%fieldset
.features
%legend
...
...
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