blog_logic 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/app/views/admin/posts/_form.html.erb +11 -12
- data/blog_logic.gemspec +2 -2
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.1
|
@@ -47,19 +47,18 @@
|
|
47
47
|
<fieldset class="form_container">
|
48
48
|
<%= legend_tag 'Categories' -%>
|
49
49
|
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
<%- end -%><br />
|
58
|
-
</div>
|
59
|
-
<%- end -%><br />
|
60
|
-
<br />
|
61
|
-
<%- end -%>
|
50
|
+
<%- BlogCategory.roots.asc(:name).each do |blog_category| -%>
|
51
|
+
<%= check_box_tag 'post[blog_category_ids][]', blog_category.id, @post.blog_category_ids.include?(blog_category.id), :class => 'category_selector', :id => blog_category.id -%><label for="<%= blog_category.id -%>" class="inline"><%= blog_category.name -%></label><br />
|
52
|
+
<%- unless blog_category.leaves.blank? -%>
|
53
|
+
<%- blog_category.children.in_groups(3, false).each do |group| -%>
|
54
|
+
<%- group.each do |child| -%>
|
55
|
+
<div class="three_column">
|
56
|
+
<%= check_box_tag 'post[blog_category_ids][]', child.id, @post.blog_category_ids.include?(child.id), :class => 'category_selector', :id => child.id -%><label for="<%= child.id -%>" class="inline"><%= child.name -%></label>
|
62
57
|
</div>
|
58
|
+
<%- end -%>
|
59
|
+
<%- end -%><br style="clear: both" />
|
60
|
+
<%- end -%><br />
|
61
|
+
<%- end -%>
|
63
62
|
<div class="link_block">
|
64
63
|
<%= f.submit 'Publish', :class => 'link_button' -%>
|
65
64
|
<%= f.submit 'Save as Draft', :class => 'link_button' -%>
|
data/blog_logic.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "blog_logic"
|
8
|
-
s.version = "1.1.
|
8
|
+
s.version = "1.1.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Bantik"]
|
12
|
-
s.date = "2011-09-
|
12
|
+
s.date = "2011-09-13"
|
13
13
|
s.description = "An engine for search-engine-optimized blog management."
|
14
14
|
s.email = "corey@seologic.com"
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blog_logic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 1
|
10
|
+
version: 1.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Bantik
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-09-
|
18
|
+
date: 2011-09-13 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: bson_ext
|