summaryrefslogtreecommitdiffstats
path: root/app/models/custom_field.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-04-11 09:00:34 +0000
committerGo MAEDA <maeda@farend.jp>2020-04-11 09:00:34 +0000
commita14697df687337f8df8316fc44e5f850ff425379 (patch)
tree5198cab49589df403636bca7f2e3b5fbfe307e68 /app/models/custom_field.rb
parent7a69848d9138257ccadde6dcf84e96ee462dfebe (diff)
downloadredmine-a14697df687337f8df8316fc44e5f850ff425379.tar.gz
redmine-a14697df687337f8df8316fc44e5f850ff425379.zip
Unify CSS classes for custom fields in issue#show, issue#edit and issue#bulk_edit (#32471).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19690 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/custom_field.rb')
-rw-r--r--app/models/custom_field.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/custom_field.rb b/app/models/custom_field.rb
index 80129b3d8..9743d1a21 100644
--- a/app/models/custom_field.rb
+++ b/app/models/custom_field.rb
@@ -306,7 +306,7 @@ class CustomField < ActiveRecord::Base
end
def css_classes
- "cf_#{id}"
+ "#{field_format}_cf cf_#{id}"
end
protected