[#4183] Bold the labels on the contract details so the fields are easier to see.

This commit is contained in:
Eric Davis
2010-07-13 11:14:07 -07:00
parent 9f4fec3fd2
commit 96d75a149c
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ module ContractsHelper
# </p>
def show_field(object, field, options={})
html_options = options[:html_options] || {}
label = content_tag(:span, l(("field_" + field.to_s.gsub(/\_id$/, "")).to_sym) + ": ")
label = content_tag(:span, l(("field_" + field.to_s.gsub(/\_id$/, "")).to_sym) + ": ", :class => 'contract-details-label')
formatter = options[:format]
raw_content = options[:raw] || false