Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OHR Support
Manage
Activity
Members
Labels
Plan
Issues
97
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
OHR Support
Commits
2f5cf020
Commit
2f5cf020
authored
13 years ago
by
Romano Licker
Committed by
Holger Just
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[#667] set unique id for each checkbox and linked it
added "no-css" class to overwrite the current label style
parent
207af215
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/views/custom_fields/_form.rhtml
+1
-2
1 addition, 2 deletions
app/views/custom_fields/_form.rhtml
public/stylesheets/application.css
+7
-0
7 additions, 0 deletions
public/stylesheets/application.css
with
8 additions
and
2 deletions
app/views/custom_fields/_form.rhtml
+
1
−
2
View file @
2f5cf020
...
...
@@ -79,10 +79,9 @@ function toggle_custom_field_format() {
<div
class=
"box"
>
<%
case
@custom_field
.
class
.
name
when
"IssueCustomField"
%>
<fieldset><legend>
<%=
l
(
:label_tracker_plural
)
%>
</legend>
<%
for
tracker
in
@trackers
%>
<%=
check_box_tag
"custom_field[tracker_ids][]"
,
tracker
.
id
,
(
@custom_field
.
trackers
.
include?
tracker
)
%>
<%=
h
(
tracker
.
name
)
%>
<%=
check_box_tag
"custom_field[tracker_ids][]"
,
tracker
.
id
,
(
@custom_field
.
trackers
.
include?
tracker
)
,
:id
=>
"custom_field_tracker_ids_
#{
tracker
.
id
}
"
%>
<label
id=
"no-css"
for=
"custom_field_tracker_ids_
<%=
tracker
.
id
%>
"
>
<%=
h
(
tracker
.
name
)
%>
</label>
<%
end
%>
<%=
hidden_field_tag
"custom_field[tracker_ids][]"
,
''
%>
</fieldset>
...
...
This diff is collapsed.
Click to expand it.
public/stylesheets/application.css
+
7
−
0
View file @
2f5cf020
...
...
@@ -424,6 +424,13 @@ margin-left: 5px !important;
width
:
auto
;
}
label
#no-css
{
font-weight
:
inherit
;
float
:
none
;
text-align
:
left
;
margin-left
:
0px
;
width
:
auto
;
}
input
#time_entry_comments
{
width
:
90%
;}
#preview
fieldset
{
margin-top
:
1em
;
background
:
url(../images/draft.png)
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment