Sha256: 73575f57568412a25b463cd55f00eb6ff348f9d3dc565b4ac78e20ea516ecf14
Contents?: true
Size: 286 Bytes
Versions: 24
Compression:
Stored size: 286 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
24 entries across 24 versions & 1 rubygems