Module: Renalware::DefinitionListHelper
- Defined in:
- app/helpers/renalware/definition_list_helper.rb
Defined Under Namespace
Classes: DefinitionList
Instance Method Summary collapse
Instance Method Details
#definition_list_for(model, size: :large) ⇒ Object
26 27 28 29 30 |
# File 'app/helpers/renalware/definition_list_helper.rb', line 26 def definition_list_for(model, size: :large) content_tag(:dl, class: "dl-horizontal #{size}") do yield DefinitionList.new(model) end end |