simplificator-activist 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/activist/block_helpers.rb +2 -2
- data/simplificator-activist.gemspec +1 -1
- metadata +2 -2
@@ -10,7 +10,7 @@ module Activist
|
|
10
10
|
end
|
11
11
|
end
|
12
12
|
|
13
|
-
def section_block(title)
|
13
|
+
def section_block(title, options = {})
|
14
14
|
builder = Builder.new(self)
|
15
15
|
yield builder
|
16
16
|
content_tag(:div,
|
@@ -19,7 +19,7 @@ module Activist
|
|
19
19
|
content_tag(:h2, title, :class => :title) +
|
20
20
|
content_tag(:div, builder.content, :class => :inner),
|
21
21
|
:class => :content),
|
22
|
-
:class => :block)
|
22
|
+
:class => [:block, options[:block_class]])
|
23
23
|
end
|
24
24
|
end
|
25
25
|
end
|