Sha256: 9f3abd01a3d45f3e85905e331221778781bd44d4c61017ada42246b584cbc9e9
Contents?: true
Size: 532 Bytes
Versions: 14
Compression:
Stored size: 532 Bytes
Contents
# Methods added to this helper will be available to all templates in the application. module ApplicationHelper #Label de la forme : "<b><nom_colonne></b>: " def label_bold_and_colon(object_name, method, text = nil, options = {}) Rails.logger.debug "DEBUG JBA : #{self.class.name}.label_bold_and_colon(#{object_name}, #{method}, #{text}, #{options})" if text.blank? label(true, object_name, method, method.humanize, true, options) else label(true, object_name, method, "<b>#{text}</b> :", true, options) end end end
Version data entries
14 entries across 14 versions & 1 rubygems