Module: GakuHelpers::ViewHelpers::HtmlHelper
- Defined in:
- lib/gaku_helpers/view_helpers/html_helper.rb
Instance Method Summary collapse
Instance Method Details
#hr ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/gaku_helpers/view_helpers/html_helper.rb', line 5 def hr content_tag :div, class: "row-fluid" do content_tag :div, class: "span12" do content_tag :hr end end end |
#index_body(&block) ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/gaku_helpers/view_helpers/html_helper.rb', line 21 def index_body(&block) content_tag :div, class: "row-fluid" do content_tag :div, class: "span12" do block.call end end end |
#index_header(&block) ⇒ Object
29 30 31 32 33 |
# File 'lib/gaku_helpers/view_helpers/html_helper.rb', line 29 def index_header(&block) content_tag :div, class: "row-fluid" do block.call end end |
#well_div(&block) ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/gaku_helpers/view_helpers/html_helper.rb', line 13 def well_div(&block) content_tag :div, class: "row-fluid" do content_tag :div, class: "span12 well" do block.call end end end |