def description_list_name_value_pair(name, value, blank_value_placeholder = nil)
      # SECURE: TPG 2013-08-07: The output is sanitised by content_tag
      return unless value.present? || blank_value_placeholder.present?
      content_tag(:dt, name) +
        content_tag(:dd, value || content_tag(:span, blank_value_placeholder, class: 'text-muted'))
    end
def description_list_name_value_pair(name, value, blank_value_placeholder = nil)
      # SECURE: TPG 2013-08-07: The output is sanitised by content_tag
      return unless value.present? || blank_value_placeholder.present?
      content_tag(:dt, name) +
        content_tag(:dd, value || content_tag(:span, blank_value_placeholder, class: 'text-muted'))
    end
This helper produces a pair of HTML dt, dd tags to display name and value pairs.
 If a blank_value_placeholder is not defined then the pair are not shown if the
 value is blank. Otherwise the placeholder is shown in the text-muted style.

 ==== Signature

   description_list_name_value_pair(name, value, blank_value_placeholder = nil)

 ==== Examples

   <%= description_list_name_value_pair("Pear", "Value") %>
   # => <dt>Pear</dt><dd>Value</dd>

   <%= description_list_name_value_pair("Pear", nil, "[none]") %>
   # => <dt>Pear</dt><dd><span class="text-muted">[none]</span></dd>