phcpresspro 8.0.3 → 8.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +31 -27
- data/app/views/phcpresspro/articles/posts/_form.html.erb +4 -5
- data/app/views/phcpresspro/articles/posts/edit.html.erb +8 -11
- data/app/views/phcpresspro/articles/posts/index.html.erb +8 -9
- data/app/views/phcpresspro/articles/posts/new.html.erb +8 -11
- data/app/views/phcpresspro/articles/posts/show.html.erb +23 -10
- data/app/views/phcpresspro/modules/categories/_form.html.erb +4 -2
- data/app/views/phcpresspro/modules/categories/edit.html.erb +6 -9
- data/app/views/phcpresspro/modules/categories/index.html.erb +6 -9
- data/app/views/phcpresspro/modules/categories/new.html.erb +6 -9
- data/app/views/phcpresspro/modules/categories/show.html.erb +6 -9
- data/app/views/phcpresspro/modules/connections/_form.html.erb +5 -3
- data/app/views/phcpresspro/modules/connections/edit.html.erb +1 -2
- data/app/views/phcpresspro/modules/connections/new.html.erb +1 -3
- data/app/views/phcpresspro/modules/connections/show.html.erb +1 -2
- data/config/tinymce.yml +2 -3
- data/lib/phcpresspro/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2b58cd837d58e059301dc6002352b9fd223a389
|
4
|
+
data.tar.gz: ca67868b4291c14b8c59b5b18be06c68a2278083
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c55a400456e21f313b09d7db5ffcabfee10d2ea05b3c7266d7fbff21785368163d06af8fd9cb2b69b5eb00834ea81369e69acf95e5ab986dbf5fc9ddc0815fc
|
7
|
+
data.tar.gz: 50a71237a6fcd2e09dcedd6f06edcc4a2a4b7d2b62ef4ca01255c703cb8f95e3e2b0d7b5480b6bab6f9a340178d68b05c18b4b77731e59fb335dcdfd861a4697
|
data/README.md
CHANGED
@@ -1,39 +1,43 @@
|
|
1
|
-
[![
|
2
|
-
[![
|
3
|
-
[![Dependency Status](https://gemnasium.com/badges/github.com/PHCNetworks/phc-press.svg)](https://gemnasium.com/github.com/PHCNetworks/phc-press)
|
4
|
-
[![Gem Version](https://badge.fury.io/rb/phcpress.svg)](https://badge.fury.io/rb/phcpress)
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/phcpresspro.svg)](https://badge.fury.io/rb/phcpresspro)
|
2
|
+
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/bradpotts/phc-press-pro/blob/master/MIT-LICENSEru)
|
5
3
|
|
6
4
|
### PHCPress(PRO) (News/Blog Engine) Documentation
|
7
|
-
PHCPress(PRO) rails CMS engine to manage articles, categories and media.
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
#### Step 1 - Add PHCPress to your gemfile
|
14
|
-
|
15
|
-
gem 'phcpresspro', '~>
|
5
|
+
PHCPress(PRO) rails CMS engine to manage your website's articles, categories and media.
|
6
|
+
|
7
|
+
* Website article posts with WYSIWYG editor.
|
8
|
+
* Upload images locally or use any popular cloud service.
|
9
|
+
* Customizable article categories module included.
|
10
|
+
|
11
|
+
#### Step 1 - Add PHCPress to your gemfile and run command
|
12
|
+
|
13
|
+
gem 'phcpresspro', '~> 8.0', '>= 8.0.3'
|
16
14
|
bundle install
|
17
|
-
|
18
|
-
#### Step 2 -
|
19
|
-
Mount the engine in your application's config/routes.rb file.
|
20
|
-
|
21
|
-
mount Phcpresspro::Engine, :at => '/'
|
22
|
-
|
23
|
-
#### Step 3 - Copy PHCPress Database Tables
|
15
|
+
|
16
|
+
#### Step 2 - Copy PHCPress Database Tables
|
24
17
|
To copy PHCPress' requried database migrations, copy each command individually to your terminal's command line.
|
25
|
-
|
18
|
+
|
26
19
|
rails phcpresspro:install:migrations
|
27
20
|
rails db:migrate
|
28
|
-
|
21
|
+
|
22
|
+
#### Step 3 - Mount PHCPress & Add Routes
|
23
|
+
Mount PHCPress by adding code below to your routes file.
|
24
|
+
|
25
|
+
mount Phcpresspro::Engine, :at => '/'
|
26
|
+
|
29
27
|
#### Step 4 - Recompile Assets
|
30
28
|
To properly function re-compile your application's assets to copy over requried files.
|
31
|
-
|
29
|
+
|
32
30
|
rails assets:clobber
|
33
31
|
rails assets:precompile
|
34
|
-
|
32
|
+
|
35
33
|
#### Step 5 - Generate Contact Form View (Customization)
|
36
34
|
All PHCPress views and layouts can be overwritten by copying files to your application.
|
37
|
-
|
38
|
-
rails generate phcpresspro:views
|
39
|
-
|
35
|
+
|
36
|
+
rails generate phcpresspro:views
|
37
|
+
|
38
|
+
#### How to Setup Image Uploads
|
39
|
+
PHCPress default Carrierwave settings can be overwritten.
|
40
|
+
|
41
|
+
- [How to Override PHCPress Uploader](https://github.com/PHCNetworks/phc-press/wiki/Image-Uploader---Override)
|
42
|
+
- [How to Override Cloudinary Uploader](https://github.com/PHCNetworks/phc-press/wiki/Image-Uploader-(Cloudinary))
|
43
|
+
- [Critical Security Updates](https://github.com/PHCNetworks/phc-press/wiki/Critical-Security-Updates)
|
@@ -54,13 +54,16 @@
|
|
54
54
|
<div class="ibox float-e-margins">
|
55
55
|
|
56
56
|
<div class="ibox-content">
|
57
|
+
|
58
|
+
<%= render 'phcnotifi/validations', :object => @articles_post %>
|
59
|
+
|
57
60
|
<div class="form-group">
|
58
61
|
<%= f.label :psttext, "News Post Title" %>
|
59
62
|
<%= f.text_field :psttitle, class: "form-control" %>
|
60
63
|
</div>
|
61
64
|
<div class="form-group">
|
62
65
|
<%= f.label :psttext, "News Post Text" %>
|
63
|
-
<%= f.text_area :psttext, :class => "tinymce form-control", :rows =>
|
66
|
+
<%= f.text_area :psttext, :class => "tinymce form-control", :rows => 20, :cols => 60 %>
|
64
67
|
</div>
|
65
68
|
</div>
|
66
69
|
|
@@ -71,7 +74,3 @@
|
|
71
74
|
<% end %>
|
72
75
|
|
73
76
|
<%= tinymce %>
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
@@ -1,26 +1,24 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Article Manager" %>
|
3
3
|
<% phc_title_tagline "Update Article" %>
|
4
|
+
<% phc_breadcrumb_one link_to "Article Index", phcpresspro.articles_posts_path %>
|
5
|
+
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
4
6
|
<!-- Title System -->
|
5
7
|
|
6
8
|
<!-- Page Header -->
|
7
9
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
|
-
<div class="col-sm-
|
9
|
-
<!-- Page Title -->
|
10
|
+
<div class="col-sm-8">
|
10
11
|
<h2><%= yield(:phc_title) %></h2>
|
11
|
-
<!-- Page Title -->
|
12
|
-
|
13
12
|
<!-- Bread Crumb -->
|
14
13
|
<ol class="breadcrumb">
|
15
|
-
<li><%=
|
16
|
-
<li class="active"><%= yield(:
|
14
|
+
<li><%= yield(:phc_breadcrumb_one) %></li>
|
15
|
+
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
17
16
|
</ol>
|
18
17
|
<!-- Bread Crumb -->
|
19
|
-
|
20
18
|
</div>
|
21
|
-
<div class="col-sm-
|
19
|
+
<div class="col-sm-4">
|
22
20
|
<div class="title-action">
|
23
|
-
<%= link_to phcpresspro.articles_posts_path, class: "btn btn-
|
21
|
+
<%= link_to phcpresspro.articles_posts_path, class: "btn btn-default" do %>
|
24
22
|
<i class="fa fa-plus"></i> Back to Article Index
|
25
23
|
<% end %>
|
26
24
|
</div>
|
@@ -32,5 +30,4 @@
|
|
32
30
|
<div class="wrapper wrapper-content animated fadeInRight">
|
33
31
|
<%= render 'form', articles_post: @articles_post %>
|
34
32
|
</div>
|
35
|
-
<!-- Page Content -->
|
36
|
-
|
33
|
+
<!-- Page Content -->
|
@@ -1,23 +1,22 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Article Manager" %>
|
3
3
|
<% phc_title_tagline "Article Index" %>
|
4
|
+
<% phc_breadcrumb_one link_to "Article Index", phcpresspro.articles_posts_path %>
|
5
|
+
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
4
6
|
<!-- Title System -->
|
5
7
|
|
6
8
|
<!-- Page Header -->
|
7
9
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
|
-
<div class="col-sm-
|
9
|
-
<!-- Page Title -->
|
10
|
+
<div class="col-sm-8">
|
10
11
|
<h2><%= yield(:phc_title) %></h2>
|
11
|
-
<!-- Page Title -->
|
12
|
-
|
13
12
|
<!-- Bread Crumb -->
|
14
13
|
<ol class="breadcrumb">
|
15
|
-
<li
|
14
|
+
<li><%= yield(:phc_breadcrumb_one) %></li>
|
15
|
+
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
16
16
|
</ol>
|
17
17
|
<!-- Bread Crumb -->
|
18
|
-
|
19
18
|
</div>
|
20
|
-
<div class="col-sm-
|
19
|
+
<div class="col-sm-4">
|
21
20
|
<div class="title-action">
|
22
21
|
<%= link_to phcpresspro.new_articles_post_path, class: "btn btn-primary" do %>
|
23
22
|
<i class="fa fa-plus"></i> Create a New Article
|
@@ -71,11 +70,11 @@
|
|
71
70
|
</tbody>
|
72
71
|
</table>
|
73
72
|
</div>
|
74
|
-
|
73
|
+
|
75
74
|
</div>
|
76
75
|
</div>
|
77
76
|
|
78
77
|
</div>
|
79
78
|
</div>
|
80
79
|
</div>
|
81
|
-
<!-- Page Content -->
|
80
|
+
<!-- Page Content -->
|
@@ -1,26 +1,24 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Article Manager" %>
|
3
3
|
<% phc_title_tagline "Create a New Article" %>
|
4
|
+
<% phc_breadcrumb_one link_to "Article Index", phcpresspro.articles_posts_path %>
|
5
|
+
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
4
6
|
<!-- Title System -->
|
5
7
|
|
6
8
|
<!-- Page Header -->
|
7
9
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
|
-
<div class="col-sm-
|
9
|
-
<!-- Page Title -->
|
10
|
+
<div class="col-sm-8">
|
10
11
|
<h2><%= yield(:phc_title) %></h2>
|
11
|
-
<!-- Page Title -->
|
12
|
-
|
13
12
|
<!-- Bread Crumb -->
|
14
13
|
<ol class="breadcrumb">
|
15
|
-
<li><%=
|
16
|
-
<li class="active"><%= yield(:
|
14
|
+
<li><%= yield(:phc_breadcrumb_one) %></li>
|
15
|
+
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
17
16
|
</ol>
|
18
17
|
<!-- Bread Crumb -->
|
19
|
-
|
20
18
|
</div>
|
21
|
-
<div class="col-sm-
|
19
|
+
<div class="col-sm-4">
|
22
20
|
<div class="title-action">
|
23
|
-
<%= link_to phcpresspro.articles_posts_path, class: "btn btn-
|
21
|
+
<%= link_to phcpresspro.articles_posts_path, class: "btn btn-default" do %>
|
24
22
|
<i class="fa fa-plus"></i> Back to Article Index
|
25
23
|
<% end %>
|
26
24
|
</div>
|
@@ -32,5 +30,4 @@
|
|
32
30
|
<div class="wrapper wrapper-content animated fadeInRight">
|
33
31
|
<%= render 'form', articles_post: @articles_post %>
|
34
32
|
</div>
|
35
|
-
<!-- Page Content -->
|
36
|
-
|
33
|
+
<!-- Page Content -->
|
@@ -1,24 +1,22 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Article Manager" %>
|
3
3
|
<% phc_title_tagline "Article Details" %>
|
4
|
+
<% phc_breadcrumb_one link_to "Article Index", phcpresspro.articles_posts_path %>
|
5
|
+
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
4
6
|
<!-- Title System -->
|
5
7
|
|
6
8
|
<!-- Page Header -->
|
7
9
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
|
-
<div class="col-sm-
|
9
|
-
<!-- Page Title -->
|
10
|
+
<div class="col-sm-8">
|
10
11
|
<h2><%= yield(:phc_title) %></h2>
|
11
|
-
<!-- Page Title -->
|
12
|
-
|
13
12
|
<!-- Bread Crumb -->
|
14
13
|
<ol class="breadcrumb">
|
15
|
-
<li><%=
|
16
|
-
<li class="active"><%= yield(:
|
14
|
+
<li><%= yield(:phc_breadcrumb_one) %></li>
|
15
|
+
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
17
16
|
</ol>
|
18
17
|
<!-- Bread Crumb -->
|
19
|
-
|
20
18
|
</div>
|
21
|
-
<div class="col-sm-
|
19
|
+
<div class="col-sm-4">
|
22
20
|
<div class="title-action">
|
23
21
|
<%= link_to phcpresspro.articles_posts_path, class: "btn btn-primary" do %>
|
24
22
|
<i class="fa fa-plus"></i> Back to Article Index
|
@@ -30,9 +28,24 @@
|
|
30
28
|
|
31
29
|
<!-- Page Content -->
|
32
30
|
<div class="wrapper wrapper-content animated fadeInRight">
|
31
|
+
<div class="row">
|
32
|
+
<div class="col-lg-12">
|
33
|
+
|
34
|
+
<div class="ibox float-e-margins">
|
35
|
+
<div class="ibox-title">
|
36
|
+
<h5><%= yield(:phc_title_tagline) %></h5>
|
37
|
+
<div class="ibox-tools">
|
38
|
+
<a class="collapse-link">
|
39
|
+
<i class="fa fa-chevron-up"></i>
|
40
|
+
</a>
|
41
|
+
<a class="close-link">
|
42
|
+
<i class="fa fa-times"></i>
|
43
|
+
</a>
|
44
|
+
</div>
|
45
|
+
</div>
|
46
|
+
<div class="ibox-content">
|
33
47
|
<p id="notice"><%= notice %></p>
|
34
48
|
<%= link_to 'Edit', phcpresspro.edit_articles_post_path(@articles_post) %> |
|
35
49
|
<%= link_to 'Back', phcpresspro.articles_posts_path %>
|
36
50
|
</div>
|
37
|
-
<!-- Page Content -->
|
38
|
-
|
51
|
+
<!-- Page Content -->
|
@@ -1,12 +1,14 @@
|
|
1
1
|
<%= form_for(@modules_category) do |f| %>
|
2
2
|
|
3
|
+
<%= render 'phcnotifi/validations', :object => @modules_category %>
|
4
|
+
|
3
5
|
<div class="form-group">
|
4
6
|
<label><%= f.label :catname, "Category Name" %></label>
|
5
7
|
<%= f.text_field :catname, class: "form-control" %>
|
6
8
|
</div>
|
7
|
-
|
9
|
+
|
8
10
|
<div class="actions">
|
9
11
|
<%= f.submit class: "btn btn-primary" %>
|
10
12
|
</div>
|
11
13
|
|
12
|
-
<% end %>
|
14
|
+
<% end %>
|
@@ -1,24 +1,22 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Plugin: Article Category Manager" %>
|
3
3
|
<% phc_title_tagline "Update Category Data" %>
|
4
|
+
<% phc_breadcrumb_one link_to "Category Index", phcpresspro.modules_categories_path %>
|
5
|
+
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
4
6
|
<!-- Title System -->
|
5
7
|
|
6
8
|
<!-- Page Header -->
|
7
9
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
|
-
<div class="col-sm-
|
9
|
-
<!-- Page Title -->
|
10
|
+
<div class="col-sm-8">
|
10
11
|
<h2><%= yield(:phc_title) %></h2>
|
11
|
-
<!-- Page Title -->
|
12
|
-
|
13
12
|
<!-- Bread Crumb -->
|
14
13
|
<ol class="breadcrumb">
|
15
|
-
<li><%=
|
16
|
-
<li class="active"><%= yield(:
|
14
|
+
<li><%= yield(:phc_breadcrumb_one) %></li>
|
15
|
+
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
17
16
|
</ol>
|
18
17
|
<!-- Bread Crumb -->
|
19
|
-
|
20
18
|
</div>
|
21
|
-
<div class="col-sm-
|
19
|
+
<div class="col-sm-4">
|
22
20
|
<div class="title-action">
|
23
21
|
<%= link_to phcpresspro.modules_categories_path, class: "btn btn-primary" do %>
|
24
22
|
<i class="fa fa-plus"></i> Back to Category Index
|
@@ -60,4 +58,3 @@
|
|
60
58
|
</div>
|
61
59
|
</div>
|
62
60
|
<!-- Page Content -->
|
63
|
-
|
@@ -1,23 +1,20 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Plugin: Article Category Manager" %>
|
3
3
|
<% phc_title_tagline "Category Index" %>
|
4
|
+
<% phc_breadcrumb_one yield(:phc_title_tagline) %>
|
4
5
|
<!-- Title System -->
|
5
6
|
|
6
7
|
<!-- Page Header -->
|
7
8
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
|
-
<div class="col-sm-
|
9
|
-
<!-- Page Title -->
|
9
|
+
<div class="col-sm-8">
|
10
10
|
<h2><%= yield(:phc_title) %></h2>
|
11
|
-
<!-- Page Title -->
|
12
|
-
|
13
11
|
<!-- Bread Crumb -->
|
14
12
|
<ol class="breadcrumb">
|
15
|
-
<li class="active"><%= yield(:
|
13
|
+
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
16
14
|
</ol>
|
17
15
|
<!-- Bread Crumb -->
|
18
|
-
|
19
16
|
</div>
|
20
|
-
<div class="col-sm-
|
17
|
+
<div class="col-sm-4">
|
21
18
|
<div class="title-action">
|
22
19
|
<%= link_to phcpresspro.new_modules_category_path, class: "btn btn-primary" do %>
|
23
20
|
<i class="fa fa-plus"></i> Create a New Category
|
@@ -64,12 +61,12 @@
|
|
64
61
|
</tbody>
|
65
62
|
</table>
|
66
63
|
</div>
|
67
|
-
|
64
|
+
|
68
65
|
</div>
|
69
66
|
</div>
|
70
67
|
|
71
68
|
</div>
|
72
69
|
</div>
|
73
70
|
</div>
|
74
|
-
<!-- Page Content -->
|
71
|
+
<!-- Page Content -->
|
75
72
|
|
@@ -1,24 +1,22 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Plugin: Article Category Manager" %>
|
3
3
|
<% phc_title_tagline "Create a New Category" %>
|
4
|
+
<% phc_breadcrumb_one link_to "Category Index", phcpresspro.modules_categories_path %>
|
5
|
+
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
4
6
|
<!-- Title System -->
|
5
7
|
|
6
8
|
<!-- Page Header -->
|
7
9
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
|
-
<div class="col-sm-
|
9
|
-
<!-- Page Title -->
|
10
|
+
<div class="col-sm-8">
|
10
11
|
<h2><%= yield(:phc_title) %></h2>
|
11
|
-
<!-- Page Title -->
|
12
|
-
|
13
12
|
<!-- Bread Crumb -->
|
14
13
|
<ol class="breadcrumb">
|
15
|
-
<li><%=
|
16
|
-
<li class="active"><%= yield(:
|
14
|
+
<li><%= yield(:phc_breadcrumb_one) %></li>
|
15
|
+
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
17
16
|
</ol>
|
18
17
|
<!-- Bread Crumb -->
|
19
|
-
|
20
18
|
</div>
|
21
|
-
<div class="col-sm-
|
19
|
+
<div class="col-sm-4">
|
22
20
|
<div class="title-action">
|
23
21
|
<%= link_to phcpresspro.modules_categories_path, class: "btn btn-primary" do %>
|
24
22
|
<i class="fa fa-plus"></i> Back to Category Index
|
@@ -60,4 +58,3 @@
|
|
60
58
|
</div>
|
61
59
|
</div>
|
62
60
|
<!-- Page Content -->
|
63
|
-
|
@@ -1,24 +1,22 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Plugin: Article Category Manager" %>
|
3
3
|
<% phc_title_tagline "Category Details" %>
|
4
|
+
<% phc_breadcrumb_one link_to "Category Index", phcpresspro.modules_categories_path %>
|
5
|
+
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
4
6
|
<!-- Title System -->
|
5
7
|
|
6
8
|
<!-- Page Header -->
|
7
9
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
|
-
<div class="col-sm-
|
9
|
-
<!-- Page Title -->
|
10
|
+
<div class="col-sm-8">
|
10
11
|
<h2><%= yield(:phc_title) %></h2>
|
11
|
-
<!-- Page Title -->
|
12
|
-
|
13
12
|
<!-- Bread Crumb -->
|
14
13
|
<ol class="breadcrumb">
|
15
|
-
<li><%=
|
16
|
-
<li class="active"><%= yield(:
|
14
|
+
<li><%= yield(:phc_breadcrumb_one) %></li>
|
15
|
+
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
17
16
|
</ol>
|
18
17
|
<!-- Bread Crumb -->
|
19
|
-
|
20
18
|
</div>
|
21
|
-
<div class="col-sm-
|
19
|
+
<div class="col-sm-4">
|
22
20
|
<div class="title-action">
|
23
21
|
<%= link_to phcpresspro.modules_categories_path, class: "btn btn-primary" do %>
|
24
22
|
<i class="fa fa-plus"></i> Back to Category Index
|
@@ -58,4 +56,3 @@
|
|
58
56
|
</div>
|
59
57
|
</div>
|
60
58
|
<!-- Page Content -->
|
61
|
-
|
@@ -1,19 +1,21 @@
|
|
1
1
|
<%= form_for(@modules_connection) do |f| %>
|
2
2
|
|
3
|
+
<%= render 'phcnotifi/validations', :object => @modules_category %>
|
4
|
+
|
3
5
|
<div class="form-group">
|
4
6
|
<%= f.label :category_id, "Category ID" %>
|
5
7
|
<%= f.text_field :category_id, class: "form-control" %>
|
6
8
|
</div>
|
7
|
-
|
9
|
+
|
8
10
|
<div class="form-group">
|
9
11
|
<%= f.label :post_id, "Post ID" %>
|
10
12
|
<%= f.text_field :post_id, class: "form-control" %>
|
11
13
|
</div>
|
12
|
-
|
14
|
+
|
13
15
|
<!-- Form Button -->
|
14
16
|
<div class="actions">
|
15
17
|
<%= f.submit class: "btn btn-primary" %>
|
16
18
|
</div>
|
17
19
|
<!-- Form Button -->
|
18
20
|
|
19
|
-
<% end %>
|
21
|
+
<% end %>
|
data/config/tinymce.yml
CHANGED
data/lib/phcpresspro/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phcpresspro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.0.
|
4
|
+
version: 8.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BradPotts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|