phcpress 6.6.5 → 6.6.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a364aa95ed5a4a2067429f1472baebee29d039f7
4
- data.tar.gz: 2026d5cc096210601163eb437a6bed36916aa480
3
+ metadata.gz: b22909487263247e80e6ac380d5b55cedfadb56e
4
+ data.tar.gz: b90b813c6323e39d0c90646818c5a1cb66afbb98
5
5
  SHA512:
6
- metadata.gz: 140bca2b618556a93836886dfc36a36c01d4a75131e0bbc4730fdfc3491110ee218800e29f5bac20c3cbb4704f0c5a7219a33e5001cac1bce05090c5952ced6c
7
- data.tar.gz: e7cbce1e8f32c0cccf81a9d3d7979518e6a6492b5086a1d98fd605964aac5892dd7d34d8bc855a7f2d8a0627fdf25f4fb131b6a029e9259a359a44c7418036c7
6
+ metadata.gz: 35e22b560cab525326916ef8fd32f084ad50c511d4003aab327aab98164d2a458f8ed75a11b769573c8c62ef8f932f12af9422c318c463786eb19e9562f0285b
7
+ data.tar.gz: a0a9ed1215553a0916ce24f240dd7e83f81d4b5a7dcc20af70d3aff15c2c495f47b006a9081869b8b173f7734a8ba74e54743d491de24a02d40e3f627285bf15
@@ -61,17 +61,22 @@
61
61
  <i class="fa fa-pencil-square-o"></i> Blog Post Publisher
62
62
  </div>
63
63
  <div class="panel-body">
64
+
65
+ <%= render 'phcnotifi/validations', :object => @articles_post %>
66
+
64
67
  <div class="form-group">
65
- <%= f.label :psttext, "News Post Text" %>
66
- <%= f.text_area :psttext, :class => "tinymce form-control", :rows => 15, :cols => 60 %>
68
+ <%= f.label :psttext, "Post Title" %>
69
+ <%= f.text_field :psttitle, class: "form-control" %>
67
70
  </div>
68
71
  <div class="form-group">
69
- <%= f.text_area :psttext, class: "post_edit_box form-control" %>
72
+ <%= f.label :psttext, "Post Text" %>
73
+ <%= f.text_area :psttext, :class => "tinymce form-control", :rows => 20, :cols => 60 %>
70
74
  </div>
75
+
71
76
  </div>
72
77
  </div>
73
78
 
74
79
  </div>
75
80
 
76
81
  <% end %>
77
- </div>
82
+ </div>
@@ -21,16 +21,7 @@
21
21
  <section class="content">
22
22
  <div class="row">
23
23
  <div class="col-lg-12">
24
- <div class="box">
25
- <div class="box-header with-border">
26
- <h3 class="box-title"><%= yield(:phc_title) %></h3>
27
- </div>
28
- <div class="box-body">
29
-
30
- <%= render 'form', articles_post: @articles_post %>
31
-
32
- </div>
33
- </div>
24
+ <%= render 'form', articles_post: @articles_post %>
34
25
  </div>
35
26
  </div>
36
27
  </section>
@@ -61,4 +61,4 @@
61
61
  </div>
62
62
  </div>
63
63
  </section>
64
- <!-- Main Content -->
64
+ <!-- Main Content -->
@@ -21,16 +21,7 @@
21
21
  <section class="content">
22
22
  <div class="row">
23
23
  <div class="col-lg-12">
24
- <div class="box">
25
- <div class="box-header with-border">
26
- <h3 class="box-title"><%= yield(:phc_title) %></h3>
27
- </div>
28
- <div class="box-body">
29
-
30
- <%= render 'form', articles_post: @articles_post %>
31
-
32
- </div>
33
- </div>
24
+ <%= render 'form', articles_post: @articles_post %>
34
25
  </div>
35
26
  </div>
36
27
  </section>
@@ -58,4 +58,4 @@
58
58
  </div>
59
59
  </div>
60
60
  </section>
61
- <!-- Main Content -->
61
+ <!-- Main Content -->
@@ -23,4 +23,4 @@
23
23
  <% end %>
24
24
 
25
25
  </div>
26
- </div>
26
+ </div>
@@ -1,3 +1,3 @@
1
1
  module Phcpress
2
- VERSION = "6.6.5"
2
+ VERSION = "6.6.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcpress
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.6.5
4
+ version: 6.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts