phcdevworks_press 1.2.1 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/app/assets/javascripts/phcdevworks_press/article/categories.coffee +0 -0
- data/app/assets/javascripts/phcdevworks_press/article/posts.coffee +0 -0
- data/app/assets/javascripts/phcdevworks_press/blog/articles.coffee +0 -0
- data/app/assets/stylesheets/phcdevworks_press/article/categories.scss +0 -0
- data/app/assets/stylesheets/phcdevworks_press/article/posts.scss +0 -0
- data/app/assets/stylesheets/phcdevworks_press/blog/articles.scss +0 -0
- data/app/views/layouts/phcdevworks_press/application.html.erb +79 -79
- data/app/views/layouts/phcdevworks_press/components/backend/footer/_footer.html.erb +7 -7
- data/app/views/layouts/phcdevworks_press/components/backend/navigation/_top_menu.html.erb +37 -37
- data/app/views/layouts/phcdevworks_press/components/backend/sidebars/_side_menu.html.erb +257 -239
- data/app/views/phcdevworks_press/article/categories/_form.html.erb +14 -14
- data/app/views/phcdevworks_press/article/categories/edit.html.erb +27 -15
- data/app/views/phcdevworks_press/article/categories/index.html.erb +63 -47
- data/app/views/phcdevworks_press/article/categories/new.html.erb +28 -15
- data/app/views/phcdevworks_press/article/posts/_form.html.erb +71 -71
- data/app/views/phcdevworks_press/article/posts/edit.html.erb +6 -6
- data/app/views/phcdevworks_press/article/posts/index.html.erb +66 -51
- data/app/views/phcdevworks_press/article/posts/new.html.erb +5 -5
- data/app/views/phcdevworks_press/blog/articles/index.html.erb +56 -56
- data/lib/phcdevworks_press/engine.rb +8 -12
- data/lib/phcdevworks_press/version.rb +1 -1
- metadata +29 -13
- data/app/assets/stylesheets/phcdevworks_press/article/categories.css +0 -4
- data/app/assets/stylesheets/phcdevworks_press/article/posts.css +0 -4
- data/app/assets/stylesheets/phcdevworks_press/blog/articles.css +0 -4
- data/config/initializers/friendly_id.rb +0 -107
@@ -1,65 +1,81 @@
|
|
1
|
-
<!-- Title
|
1
|
+
<!-- PHCTitleSEO Title Variables -->
|
2
2
|
<% phc_title "Article Category Manager" %>
|
3
3
|
<% phc_title_tagline "Category Index" %>
|
4
4
|
<% phc_breadcrumb_one yield(:phc_title) %>
|
5
5
|
<% phc_breadcrumb_two link_to "Category Index", phcdevworks_press.article_categories_path %>
|
6
6
|
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
|
-
<!-- Title
|
7
|
+
<!-- PHCTitleSEO Title Variables -->
|
8
8
|
|
9
9
|
<!-- Page Bradcrumbs -->
|
10
10
|
<ol class="breadcrumb pull-right">
|
11
|
-
|
12
|
-
|
11
|
+
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
12
|
+
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
|
13
|
+
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
|
13
14
|
</ol>
|
14
15
|
<!-- Page Bradcrumbs -->
|
15
16
|
|
16
17
|
<!-- Page Header -->
|
17
|
-
<
|
18
|
+
<h2 class="page-header"><%= yield(:phc_title) %></h2>
|
18
19
|
<!-- Page Header -->
|
19
20
|
|
20
|
-
<!-- Page
|
21
|
-
<div class="
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
<
|
38
|
-
<
|
39
|
-
|
40
|
-
<
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
21
|
+
<!-- Page Content -->
|
22
|
+
<div class="row">
|
23
|
+
<div class="col-lg-12">
|
24
|
+
|
25
|
+
<!-- Panel -->
|
26
|
+
<div class="panel panel-inverse">
|
27
|
+
|
28
|
+
<!-- Panel - Heading -->
|
29
|
+
<div class="panel-heading">
|
30
|
+
<h4 class="panel-title"><%= yield(:phc_title) %></h4>
|
31
|
+
</div>
|
32
|
+
<!-- Panel - Heading -->
|
33
|
+
|
34
|
+
<!-- Panel - Body -->
|
35
|
+
<div class="panel-body">
|
36
|
+
|
37
|
+
<!-- Index - Table -->
|
38
|
+
<div class="table-responsive">
|
39
|
+
<table class="table table-striped table-bordered">
|
40
|
+
|
41
|
+
<thead>
|
42
|
+
<tr>
|
43
|
+
<th>Category Name</th>
|
44
|
+
<th></th>
|
45
|
+
</tr>
|
46
|
+
</thead>
|
47
|
+
|
48
|
+
<tbody>
|
49
|
+
<% @article_categories.each do |article_category| %>
|
50
|
+
<tr>
|
51
|
+
<td><%= link_to article_category.category_name, phcdevworks_press.edit_article_category_path(article_category) %></td>
|
52
|
+
<td>
|
53
|
+
<div class="btn-group d-flex" role="group">
|
54
|
+
<%= link_to "Edit Category", edit_article_category_path(article_category), class: "btn btn-primary btn-xs" %>
|
55
|
+
<%= link_to "Remove Category", article_category, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: "Are you sure?" } %>
|
56
|
+
</div>
|
57
|
+
</td>
|
58
|
+
</tr>
|
59
|
+
<% end %>
|
60
|
+
</tbody>
|
61
|
+
|
62
|
+
</table>
|
63
|
+
</div>
|
64
|
+
<!-- Index - Table -->
|
65
|
+
|
66
|
+
<!-- New Button -->
|
67
|
+
<%= link_to phcdevworks_press.new_article_category_path, class: "btn btn-primary btn-sm" do %>
|
68
|
+
<i class="fad fa-plus-circle"></i>
|
69
|
+
<%= "Add a New Article Category" %>
|
70
|
+
<% end %>
|
71
|
+
<!-- New Button -->
|
72
|
+
|
73
|
+
</div>
|
74
|
+
<!-- Panel - Body -->
|
75
|
+
|
61
76
|
</div>
|
62
|
-
<!--
|
77
|
+
<!-- Panel -->
|
78
|
+
|
63
79
|
</div>
|
64
80
|
</div>
|
65
81
|
<!-- Page Content -->
|
@@ -1,10 +1,10 @@
|
|
1
|
-
<!-- Title
|
1
|
+
<!-- PHCTitleSEO Title Variables -->
|
2
2
|
<% phc_title "Article Category Manager" %>
|
3
3
|
<% phc_title_tagline "Create a New Category" %>
|
4
4
|
<% phc_breadcrumb_one yield(:phc_title) %>
|
5
5
|
<% phc_breadcrumb_two link_to "Category Index", phcdevworks_press.article_categories_path %>
|
6
6
|
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
|
-
<!-- Title
|
7
|
+
<!-- PHCTitleSEO Title Variables -->
|
8
8
|
|
9
9
|
<!-- Page Bradcrumbs -->
|
10
10
|
<ol class="breadcrumb pull-right">
|
@@ -15,23 +15,36 @@
|
|
15
15
|
<!-- Page Bradcrumbs -->
|
16
16
|
|
17
17
|
<!-- Page Header -->
|
18
|
-
<
|
18
|
+
<h2 class="page-header"><%= yield(:phc_title) %></h2>
|
19
19
|
<!-- Page Header -->
|
20
20
|
|
21
21
|
<!-- Page Content -->
|
22
|
-
<div class="
|
23
|
-
<div class="
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
22
|
+
<div class="row">
|
23
|
+
<div class="col-lg-12">
|
24
|
+
|
25
|
+
<!-- Panel -->
|
26
|
+
<div class="panel panel-inverse">
|
27
|
+
|
28
|
+
<!-- Panel - Heading -->
|
29
|
+
<div class="panel-heading">
|
30
|
+
<h4 class="panel-title"><%= yield(:phc_title) %></h4>
|
31
|
+
</div>
|
32
|
+
<!-- Panel - Heading -->
|
33
|
+
|
34
|
+
<!-- Panel - Body -->
|
35
|
+
<div class="panel-body">
|
36
|
+
|
37
|
+
<!-- New Form -->
|
38
|
+
<%= render "form", article_category: @article_category %>
|
39
|
+
<!-- New Form -->
|
40
|
+
|
41
|
+
</div>
|
42
|
+
<!-- Panel - Body -->
|
43
|
+
|
28
44
|
</div>
|
29
|
-
|
30
|
-
|
31
|
-
<div class="panel-body">
|
32
|
-
<!-- Form for New Article Category -->
|
33
|
-
<%= render 'form', article_category: @article_category %>
|
34
|
-
<!-- Form for New Article Category -->
|
45
|
+
<!-- Panel -->
|
46
|
+
|
35
47
|
</div>
|
36
48
|
</div>
|
37
49
|
<!-- Page Content -->
|
50
|
+
|
@@ -1,85 +1,85 @@
|
|
1
|
+
<!-- Form - Article - Posts -->
|
1
2
|
<%= form_with(model: article_post, local: true) do |form| %>
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
<div class="panel
|
8
|
-
<
|
9
|
-
<h4 class="panel-title">Publish Panel</h4>
|
10
|
-
</div>
|
11
|
-
<div class="panel-body">
|
12
|
-
<div class="form-group field_with_errors">
|
13
|
-
<%= form.label :post_status, "Post Status" %>
|
14
|
-
<%= form.select( :post_status, [['Draft','draft'],['Published','published'],['Review','review']], {}, {class: "form-control"}) %>
|
15
|
-
</div>
|
16
|
-
<div class="actions">
|
17
|
-
<%= form.submit class: "btn btn-primary" %>
|
18
|
-
</div>
|
19
|
-
</div>
|
3
|
+
<div class="row">
|
4
|
+
<div class="col-md-3">
|
5
|
+
|
6
|
+
<!-- Panel - Publishing -->
|
7
|
+
<div class="panel panel-inverse">
|
8
|
+
<div class="panel-heading">
|
9
|
+
<h4 class="panel-title">Publish Panel</h4>
|
20
10
|
</div>
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
<div class="panel-heading">
|
26
|
-
<h4 class="panel-title">Post Images</h4>
|
11
|
+
<div class="panel-body">
|
12
|
+
<div class="form-group field_with_errors">
|
13
|
+
<%= form.label :post_status, "Post Status" %>
|
14
|
+
<%= form.select( :post_status, [["Draft","draft"],["Published","published"],["Review","review"]], {}, {class: "form-control"}) %>
|
27
15
|
</div>
|
28
|
-
<div class="
|
29
|
-
|
30
|
-
<%= form.label :post_image, "Featured Image" %>
|
31
|
-
<%= form.file_field :post_image, class: "form-control" %>
|
32
|
-
</div>
|
33
|
-
<% if form.object.post_image.attached? %>
|
34
|
-
<%= image_tag main_app.url_for(form.object.post_image), class: "img-responsive img-thumbnail" %>
|
35
|
-
<% end %>
|
16
|
+
<div class="actions">
|
17
|
+
<%= form.submit class: "btn btn-primary" %>
|
36
18
|
</div>
|
37
19
|
</div>
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
</
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
20
|
+
</div>
|
21
|
+
<!-- Panel - Publishing -->
|
22
|
+
|
23
|
+
<!-- Panel - Image Uploading -->
|
24
|
+
<div class="panel panel-inverse">
|
25
|
+
<div class="panel-heading">
|
26
|
+
<h4 class="panel-title">Post Images</h4>
|
27
|
+
</div>
|
28
|
+
<div class="panel-body">
|
29
|
+
<div class="form-group field_with_errors">
|
30
|
+
<%= form.label :post_image, "Featured Image" %>
|
31
|
+
<%= form.file_field :post_image, class: "form-control" %>
|
50
32
|
</div>
|
33
|
+
<% if form.object.post_image.attached? %>
|
34
|
+
<%= image_tag main_app.url_for(form.object.post_image), class: "img-responsive img-thumbnail" %>
|
35
|
+
<% end %>
|
51
36
|
</div>
|
52
|
-
<!-- Panel - Article - Categories -->
|
53
|
-
|
54
37
|
</div>
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
<div class="panel
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
38
|
+
<!-- Panel - Image Uploading -->
|
39
|
+
|
40
|
+
<!-- Panel - Article - Categories -->
|
41
|
+
<div class="panel panel-inverse">
|
42
|
+
<div class="panel-heading">
|
43
|
+
<h4 class="panel-title">Post Categories</h4>
|
44
|
+
</div>
|
45
|
+
<div class="panel-body">
|
46
|
+
<%= form.collection_check_boxes :category_ids, PhcdevworksPress::Article::Category.all, :id, :category_name do |post_category| %>
|
47
|
+
<%= post_category.check_box %>
|
48
|
+
<%= post_category.label %><br>
|
49
|
+
<% end %>
|
50
|
+
</div>
|
51
|
+
</div>
|
52
|
+
<!-- Panel - Article - Categories -->
|
53
|
+
|
54
|
+
</div>
|
55
|
+
<div class="col-md-9 ">
|
56
|
+
|
57
|
+
<!-- PHCNotifi Render Validation -->
|
58
|
+
<%= render "phcdevworks_notifications/bootstrap/validations", :object => @article_post %>
|
59
|
+
<!-- PHCNotifi Render Validation -->
|
60
|
+
|
61
|
+
<div class="panel panel-inverse">
|
62
|
+
<div class="panel-heading">
|
63
|
+
<div class="panel-heading-btn">
|
64
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
|
65
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
|
66
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
|
67
|
+
</div>
|
68
|
+
<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
|
69
|
+
</div>
|
70
|
+
<div class="panel-body">
|
71
|
+
<div class="form-group field_with_errors">
|
72
|
+
<%= form.label :post_title, "Article Title" %>
|
73
|
+
<%= form.text_field :post_title, class: "form-control" %>
|
70
74
|
</div>
|
71
|
-
<div class="
|
72
|
-
|
73
|
-
|
74
|
-
<%= form.text_field :post_title, class: "form-control" %>
|
75
|
-
</div>
|
76
|
-
<div class="form-group field_with_errors">
|
77
|
-
<%= form.text_area :post_text, class: "form-control", :id => "editor" %>
|
78
|
-
<div id="word-count" class="mt-3"></div>
|
79
|
-
</div>
|
75
|
+
<div class="form-group field_with_errors">
|
76
|
+
<%= form.text_area :post_text, class: "form-control", :id => "editor", rows: "10" %>
|
77
|
+
<div id="word-count" class="mt-3"></div>
|
80
78
|
</div>
|
81
79
|
</div>
|
82
|
-
|
83
80
|
</div>
|
81
|
+
|
84
82
|
</div>
|
83
|
+
</div>
|
85
84
|
<% end %>
|
85
|
+
<!-- Form - Article - Posts -->
|
@@ -1,10 +1,10 @@
|
|
1
|
-
<!-- Title
|
1
|
+
<!-- PHCTitleSEO Title Variables -->
|
2
2
|
<% phc_title "Article Manager" %>
|
3
3
|
<% phc_title_tagline "Update Article" %>
|
4
4
|
<% phc_breadcrumb_one yield(:phc_title) %>
|
5
5
|
<% phc_breadcrumb_two link_to "Article Index", phcdevworks_press.article_posts_path %>
|
6
6
|
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
|
-
<!-- Title
|
7
|
+
<!-- PHCTitleSEO Title Variables -->
|
8
8
|
|
9
9
|
<!-- Page Bradcrumbs -->
|
10
10
|
<ol class="breadcrumb pull-right">
|
@@ -15,9 +15,9 @@
|
|
15
15
|
<!-- Page Bradcrumbs -->
|
16
16
|
|
17
17
|
<!-- Page Header -->
|
18
|
-
<
|
18
|
+
<h2 class="page-header"><%= yield(:phc_title) %></h2>
|
19
19
|
<!-- Page Header -->
|
20
20
|
|
21
|
-
<!--
|
22
|
-
<%= render
|
23
|
-
<!--
|
21
|
+
<!-- Edit Form -->
|
22
|
+
<%= render "form", article_post: @article_post %>
|
23
|
+
<!-- Edit Form -->
|
@@ -1,68 +1,83 @@
|
|
1
|
-
<!-- Title
|
1
|
+
<!-- PHCTitleSEO Title Variables -->
|
2
2
|
<% phc_title "Article Manager" %>
|
3
3
|
<% phc_title_tagline "Article Index" %>
|
4
4
|
<% phc_breadcrumb_one yield(:phc_title) %>
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
|
-
<!-- Title
|
6
|
+
<!-- PHCTitleSEO Title Variables -->
|
7
7
|
|
8
8
|
<!-- Page Bradcrumbs -->
|
9
9
|
<ol class="breadcrumb pull-right">
|
10
|
-
|
11
|
-
|
10
|
+
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
11
|
+
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
|
12
12
|
</ol>
|
13
13
|
<!-- Page Bradcrumbs -->
|
14
14
|
|
15
15
|
<!-- Page Header -->
|
16
|
-
<
|
16
|
+
<h2 class="page-header"><%= yield(:phc_title) %></h2>
|
17
17
|
<!-- Page Header -->
|
18
18
|
|
19
|
-
<!-- Page
|
20
|
-
<div class="
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
<
|
37
|
-
<
|
38
|
-
|
39
|
-
<
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
19
|
+
<!-- Page Content -->
|
20
|
+
<div class="row">
|
21
|
+
<div class="col-lg-12">
|
22
|
+
|
23
|
+
<!-- Panel -->
|
24
|
+
<div class="panel panel-inverse">
|
25
|
+
|
26
|
+
<!-- Panel - Heading -->
|
27
|
+
<div class="panel-heading">
|
28
|
+
<h4 class="panel-title"><%= yield(:phc_title) %></h4>
|
29
|
+
</div>
|
30
|
+
<!-- Panel - Heading -->
|
31
|
+
|
32
|
+
<!-- Panel - Body -->
|
33
|
+
<div class="panel-body">
|
34
|
+
|
35
|
+
<!-- Index - Table -->
|
36
|
+
<div class="table-responsive">
|
37
|
+
<table class="table table-striped table-bordered">
|
38
|
+
|
39
|
+
<thead>
|
40
|
+
<tr>
|
41
|
+
<th>Post Headline</th>
|
42
|
+
<th>Post Preview</th>
|
43
|
+
<th>Post Status</th>
|
44
|
+
<th></th>
|
45
|
+
</tr>
|
46
|
+
</thead>
|
47
|
+
|
48
|
+
<tbody>
|
49
|
+
<% @article_posts.each do |article_post| %>
|
50
|
+
<tr>
|
51
|
+
<td><%= article_post.post_title %></td>
|
52
|
+
<td><%= truncate(article_post.post_text, :length => 80, :escape => false) %></td>
|
53
|
+
<td><%= article_post.post_status.capitalize %></td>
|
54
|
+
<td>
|
55
|
+
<div class="btn-group d-flex" role="group">
|
56
|
+
<%= link_to "Update Post", edit_article_post_path(article_post), class: "btn btn-primary btn-xs" %>
|
57
|
+
<%= link_to "Remove Post", article_post, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: "Are you sure?" } %>
|
58
|
+
</div>
|
59
|
+
</td>
|
60
|
+
</tr>
|
61
|
+
<% end %>
|
62
|
+
</tbody>
|
63
|
+
|
64
|
+
</table>
|
65
|
+
</div>
|
66
|
+
<!-- Index - Table -->
|
67
|
+
|
68
|
+
<!-- New Button -->
|
69
|
+
<%= link_to phcdevworks_press.new_article_post_path, class: "btn btn-primary" do %>
|
70
|
+
<i class="fad fa-plus-circle"></i>
|
71
|
+
<%= "Add a New Article Post" %>
|
72
|
+
<% end %>
|
73
|
+
<!-- New Button -->
|
74
|
+
|
75
|
+
</div>
|
76
|
+
<!-- Panel - Body -->
|
77
|
+
|
64
78
|
</div>
|
65
|
-
<!--
|
79
|
+
<!-- Panel -->
|
80
|
+
|
66
81
|
</div>
|
67
82
|
</div>
|
68
83
|
<!-- Page Content -->
|
@@ -1,10 +1,10 @@
|
|
1
|
-
<!-- Title
|
1
|
+
<!-- PHCTitleSEO Title Variables -->
|
2
2
|
<% phc_title "Article Manager" %>
|
3
3
|
<% phc_title_tagline "Create a New Article" %>
|
4
4
|
<% phc_breadcrumb_one yield(:phc_title) %>
|
5
5
|
<% phc_breadcrumb_two link_to "Article Index", phcdevworks_press.article_posts_path %>
|
6
6
|
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
|
-
<!-- Title
|
7
|
+
<!-- PHCTitleSEO Title Variables -->
|
8
8
|
|
9
9
|
<!-- Page Bradcrumbs -->
|
10
10
|
<ol class="breadcrumb pull-right">
|
@@ -18,6 +18,6 @@
|
|
18
18
|
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
19
19
|
<!-- Page Header -->
|
20
20
|
|
21
|
-
<!--
|
22
|
-
<%= render
|
23
|
-
<!--
|
21
|
+
<!-- New Form -->
|
22
|
+
<%= render "form", article_post: @article_post %>
|
23
|
+
<!-- New Form -->
|