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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
f2082edb
Commit
f2082edb
authored
Aug 07, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use control-group classes for inline forms in issues/mr
parent
49fa9907
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
app/views/projects/issues/_form.html.haml
app/views/projects/issues/_form.html.haml
+9
-9
app/views/projects/merge_requests/_form.html.haml
app/views/projects/merge_requests/_form.html.haml
+5
-5
No files found.
app/views/projects/issues/_form.html.haml
View file @
f2082edb
...
@@ -8,18 +8,18 @@
...
@@ -8,18 +8,18 @@
%br
%br
.ui-box.ui-box-show
.ui-box.ui-box-show
.ui-box-head
.ui-box-head
.c
learfix
.c
ontrol-group
=
f
.
label
:title
do
=
f
.
label
:title
do
%strong
=
"Subject *"
%strong
=
"Subject *"
.
input
.
controls
=
f
.
text_field
:title
,
maxlength:
255
,
class:
"xxlarge js-gfm-input"
,
autofocus:
true
,
required:
true
=
f
.
text_field
:title
,
maxlength:
255
,
class:
"xxlarge js-gfm-input"
,
autofocus:
true
,
required:
true
.ui-box-body
.ui-box-body
.c
learfix
.c
ontrol-group
.issue_assignee.pull-left
.issue_assignee.pull-left
=
f
.
label
:assignee_id
do
=
f
.
label
:assignee_id
do
%i
.icon-user
%i
.icon-user
Assign to
Assign to
.
input
.
controls
.pull-left
.pull-left
=
f
.
select
(
:assignee_id
,
@project
.
team
.
members
.
sort_by
(
&
:name
).
map
{
|
p
|
[
p
.
name
,
p
.
id
]
},
{
include_blank:
"Select a user"
},
{
class:
'chosen'
})
=
f
.
select
(
:assignee_id
,
@project
.
team
.
members
.
sort_by
(
&
:name
).
map
{
|
p
|
[
p
.
name
,
p
.
id
]
},
{
include_blank:
"Select a user"
},
{
class:
'chosen'
})
.pull-right
.pull-right
...
@@ -29,20 +29,20 @@
...
@@ -29,20 +29,20 @@
=
f
.
label
:milestone_id
do
=
f
.
label
:milestone_id
do
%i
.icon-time
%i
.icon-time
Milestone
Milestone
.
input
=
f
.
select
(
:milestone_id
,
@project
.
milestones
.
active
.
all
.
collect
{
|
p
|
[
p
.
title
,
p
.
id
]
},
{
include_blank:
"Select milestone"
},
{
class:
'chosen'
})
.
controls
=
f
.
select
(
:milestone_id
,
@project
.
milestones
.
active
.
all
.
collect
{
|
p
|
[
p
.
title
,
p
.
id
]
},
{
include_blank:
"Select milestone"
},
{
class:
'chosen'
})
.ui-box-bottom
.ui-box-bottom
.c
learfix
.c
ontrol-group
=
f
.
label
:label_list
do
=
f
.
label
:label_list
do
%i
.icon-tag
%i
.icon-tag
Labels
Labels
.
input
.
controls
=
f
.
text_field
:label_list
,
maxlength:
2000
,
class:
"xxlarge"
=
f
.
text_field
:label_list
,
maxlength:
2000
,
class:
"xxlarge"
%p
.hint
Separate labels with commas.
%p
.hint
Separate labels with commas.
.c
learfix
.c
ontrol-group
=
f
.
label
:description
,
"Details"
=
f
.
label
:description
,
"Details"
.
input
.
controls
=
f
.
text_area
:description
,
class:
"xxlarge js-gfm-input"
,
rows:
14
=
f
.
text_area
:description
,
class:
"xxlarge js-gfm-input"
,
rows:
14
%p
.hint
Issues are parsed with
#{
link_to
"GitLab Flavored Markdown"
,
help_markdown_path
,
target:
'_blank'
}
.
%p
.hint
Issues are parsed with
#{
link_to
"GitLab Flavored Markdown"
,
help_markdown_path
,
target:
'_blank'
}
.
...
...
app/views/projects/merge_requests/_form.html.haml
View file @
f2082edb
...
@@ -31,21 +31,21 @@
...
@@ -31,21 +31,21 @@
%i
.icon-paper-clip
%i
.icon-paper-clip
Details
Details
.merge-request-form-info
.merge-request-form-info
.c
learfix
.c
ontrol-group
=
f
.
label
:title
do
=
f
.
label
:title
do
%strong
=
"Title *"
%strong
=
"Title *"
.
input
=
f
.
text_field
:title
,
class:
"input-xxlarge pad js-gfm-input"
,
maxlength:
255
,
rows:
5
,
required:
true
.
controls
=
f
.
text_field
:title
,
class:
"input-xxlarge pad js-gfm-input"
,
maxlength:
255
,
rows:
5
,
required:
true
.c
learfix
.c
ontrol-group
.left
.left
=
f
.
label
:assignee_id
do
=
f
.
label
:assignee_id
do
%i
.icon-user
%i
.icon-user
Assign to
Assign to
.
input
=
f
.
select
(
:assignee_id
,
@project
.
team
.
members
.
sort_by
(
&
:name
).
map
{
|
p
|
[
p
.
name
,
p
.
id
]
},
{
include_blank:
"Select user"
},
{
class:
'chosen span3'
})
.
controls
=
f
.
select
(
:assignee_id
,
@project
.
team
.
members
.
sort_by
(
&
:name
).
map
{
|
p
|
[
p
.
name
,
p
.
id
]
},
{
include_blank:
"Select user"
},
{
class:
'chosen span3'
})
.left
.left
=
f
.
label
:milestone_id
do
=
f
.
label
:milestone_id
do
%i
.icon-time
%i
.icon-time
Milestone
Milestone
.
input
=
f
.
select
(
:milestone_id
,
@project
.
milestones
.
active
.
all
.
map
{
|
p
|
[
p
.
title
,
p
.
id
]
},
{
include_blank:
"Select milestone"
},
{
class:
'chosen'
})
.
controls
=
f
.
select
(
:milestone_id
,
@project
.
milestones
.
active
.
all
.
map
{
|
p
|
[
p
.
title
,
p
.
id
]
},
{
include_blank:
"Select milestone"
},
{
class:
'chosen'
})
.form-actions
.form-actions
...
...
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