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

Version Path
infopark_rails_connector-6.8.0.356.19698103 app/helpers/rails_connector/mandatory_label_helper.rb
infopark_rails_connector-6.8.0.348.160665197 app/helpers/rails_connector/mandatory_label_helper.rb
infopark_rails_connector-6.8.0.328.4a753fc app/helpers/rails_connector/mandatory_label_helper.rb
infopark_rails_connector-6.8.0.322.c003f11 app/helpers/rails_connector/mandatory_label_helper.rb