Module: GakuHelpers::ViewHelpers::HtmlHelper

Defined in:
lib/gaku_helpers/view_helpers/html_helper.rb

Instance Method Summary collapse

Instance Method Details

#hrObject



5
6
7
8
9
10
11
# File 'lib/gaku_helpers/view_helpers/html_helper.rb', line 5

def hr
   :div, class: "row-fluid" do
     :div, class: "span12" do
       :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)
   :div, class: "row-fluid" do
     :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)
   :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)
   :div, class: "row-fluid" do
     :div, class: "span12 well" do
      block.call
    end
  end
end