Sha256: df57daf9aa4efd103fc5a6df843ec5b3e0642ef57704d6aed3792ff981075a4c
Contents?: true
Size: 285 Bytes
Versions: 21
Compression:
Stored size: 285 Bytes
Contents
module RailsConnector module MandatoryLabelHelper def mandatory_label_for(form, object, label) html = "".html_safe html += label html += content_tag(:span, " *", :class => "mandatory_star") form.label(object, html, :class => "mandatory") end end end
Version data entries
21 entries across 21 versions & 1 rubygems