phcpresspro 4.1.5 → 4.1.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: a325b13511c81dbc60eec23353f15c634cecf822
4
- data.tar.gz: 3182e176b39289565585fa190e9d189ee85f3eba
3
+ metadata.gz: 863953ae9e45913b3ab42c103e8c82ada479c2c7
4
+ data.tar.gz: aad0a84bb5b960cc9367df1b7b19f59360072bc1
5
5
  SHA512:
6
- metadata.gz: 1ee6ac823d9f9a6ac5a7d5b92a1f29e8378f2b472878bbdd9e219ee23e6ab97bb019d678eb838717b58bf252d33e157554654e0f1762e6f1b2021e5b5785cb14
7
- data.tar.gz: 0bdad23ae7917b9026f2a1ddf9497135f4d5ce37ee27502d002de46e14e2095877875d90032148fa76da4b8653ba51610fef159846a95888d21374d87b66b5c8
6
+ metadata.gz: 9eb871ecc277375cebf4d8c9cda5952adb1bd1dc152b1c166e9e69fed6718315eded1796eae70b391e360b4d9abdd800d8995b91238baf4bfdbfd4936b43efbf
7
+ data.tar.gz: eaa75e5385a6699b81f7f6df0eb3d81239a3155e335e77ce2e596d6b8c40c16fdd33d86f0334c8e0abef29dad3aff93d3e523e61c5bbfa47ed09205fafa24794
@@ -1,12 +1 @@
1
- <!-- Main Content -->
2
- <div class="panel panel-primary">
3
-
4
- <div class="panel-heading">
5
- <i class="fa fa-pencil-square-o"></i> Edit Article
6
- </div>
7
-
8
- <div class="panel-body">
9
- <%= render 'form' %>
10
- </div>
11
-
12
- </div>
1
+ <%= render 'form', articles_post: @articles_post %>
@@ -1,12 +1 @@
1
- <!-- Main Content -->
2
- <div class="panel panel-primary">
3
-
4
- <div class="panel-heading">
5
- <i class="fa fa-pencil-square-o"></i> New Article Post
6
- </div>
7
-
8
- <div class="panel-body">
9
- <%= render 'form' %>
10
- </div>
11
-
12
- </div>
1
+ <%= render 'form', articles_post: @articles_post %>
@@ -1,5 +1,6 @@
1
1
  <div class="row">
2
2
  <div class="col-lg-12">
3
+
3
4
  <%= form_for(@modules_category) do |f| %>
4
5
 
5
6
  <div class="form-group">
@@ -12,5 +13,6 @@
12
13
  </div>
13
14
 
14
15
  <% end %>
16
+
15
17
  </div>
16
18
  </div>
@@ -1,12 +1 @@
1
- <!-- Main Content -->
2
- <div class="panel panel-primary">
3
-
4
- <div class="panel-heading">
5
- <i class="fa fa-list-ul"></i> Edit Category
6
- </div>
7
-
8
- <div class="panel-body">
9
- <%= render 'form' %>
10
- </div>
11
-
12
- </div>
1
+ <%= render 'form', modules_category: @modules_category %>
@@ -21,7 +21,7 @@
21
21
  <tr>
22
22
  <td><%= modules_category.catname %></td>
23
23
  <td><div class="btn-group" role="group" aria-label="Blog Articles">
24
- <%= link_to 'Edit', edit_modules_category_path(modules_category) , class: "btn btn-primary btn-xs" %>
24
+ <%= link_to 'Edit', edit_modules_category_path(modules_category), class: "btn btn-primary btn-xs" %>
25
25
  <%= link_to 'Trash', modules_category, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %>
26
26
  </div>
27
27
  </td>
@@ -29,7 +29,9 @@
29
29
  <% end %>
30
30
  </tbody>
31
31
  </table>
32
+
32
33
  <%= link_to 'New Category', new_modules_category_path, class: "btn btn-primary" %>
34
+
33
35
  </div>
34
36
 
35
37
  </div>
@@ -1,12 +1 @@
1
- <!-- Main Content -->
2
- <div class="panel panel-primary">
3
-
4
- <div class="panel-heading">
5
- <i class="fa fa-list-ul"></i> New Category
6
- </div>
7
-
8
- <div class="panel-body">
9
- <%= render 'form' %>
10
- </div>
11
-
12
- </div>
1
+ <%= render 'form', modules_category: @modules_category %>
@@ -1,17 +1,23 @@
1
- <%= form_for(modules_connection) do |f| %>
2
- <% if modules_connection.errors.any? %>
3
- <div id="error_explanation">
4
- <h2><%= pluralize(modules_connection.errors.count, "error") %> prohibited this modules_connection from being saved:</h2>
1
+ <div class="row">
2
+ <div class="col-lg-12">
5
3
 
6
- <ul>
7
- <% modules_connection.errors.full_messages.each do |message| %>
8
- <li><%= message %></li>
9
- <% end %>
10
- </ul>
11
- </div>
12
- <% end %>
4
+ <%= form_for(@modules_connection) do |f| %>
13
5
 
14
- <div class="actions">
15
- <%= f.submit %>
16
- </div>
17
- <% end %>
6
+ <div class="form-group">
7
+ <%= f.label :category_id, "Category ID" %>
8
+ <%= f.text_field :category_id, class: "form-control" %>
9
+ </div>
10
+
11
+ <div class="form-group">
12
+ <%= f.label :post_id, "Post ID" %>
13
+ <%= f.text_field :post_id, class: "form-control" %>
14
+ </div>
15
+
16
+ <div class="actions">
17
+ <%= f.submit "Submit", class: "btn btn-primary" %>
18
+ </div>
19
+
20
+ <% end %>
21
+
22
+ </div>
23
+ </div>
@@ -1,6 +1 @@
1
- <h1>Editing Modules Connection</h1>
2
-
3
1
  <%= render 'form', modules_connection: @modules_connection %>
4
-
5
- <%= link_to 'Show', @modules_connection %> |
6
- <%= link_to 'Back', modules_connections_path %>
@@ -1,25 +1,34 @@
1
- <p id="notice"><%= notice %></p>
1
+ <!-- Main Content -->
2
+ <div class="wrapper wrapper-content">
3
+ <div class="panel panel-primary">
2
4
 
3
- <h1>Modules Connections</h1>
5
+ <div class="panel-heading">
6
+ <i class="fa fa-list-ul"></i> Connections List
7
+ </div>
4
8
 
5
- <table>
6
- <thead>
7
- <tr>
8
- <th colspan="3"></th>
9
- </tr>
10
- </thead>
9
+ <div class="panel-body">
11
10
 
12
- <tbody>
13
- <% @modules_connections.each do |modules_connection| %>
14
- <tr>
15
- <td><%= link_to 'Show', modules_connection %></td>
16
- <td><%= link_to 'Edit', edit_modules_connection_path(modules_connection) %></td>
17
- <td><%= link_to 'Destroy', modules_connection, method: :delete, data: { confirm: 'Are you sure?' } %></td>
18
- </tr>
19
- <% end %>
20
- </tbody>
21
- </table>
11
+ <table class="table table-bordered table-striped table-hover">
12
+ <thead>
13
+ <tr>
14
+ <th colspan="3"></th>
15
+ </tr>
16
+ </thead>
22
17
 
23
- <br>
18
+ <tbody>
19
+ <% @modules_connections.each do |modules_connection| %>
20
+ <tr>
21
+ <td><%= link_to 'Show', modules_connection, class: "btn btn-primary btn-xs" %></td>
22
+ <td><%= link_to 'Edit', edit_modules_connection_path(modules_connection), class: "btn btn-primary btn-xs" %></td>
23
+ <td><%= link_to 'Destroy', modules_connection, class: "btn btn-primary btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %></td>
24
+ </tr>
25
+ <% end %>
26
+ </tbody>
27
+ </table>
24
28
 
25
- <%= link_to 'New Modules Connection', new_modules_connection_path %>
29
+ <%= link_to 'New Connection', new_modules_connection_path, class: "btn btn-primary" %>
30
+
31
+ </div>
32
+
33
+ </div>
34
+ </div>
@@ -1,5 +1 @@
1
- <h1>New Modules Connection</h1>
2
-
3
1
  <%= render 'form', modules_connection: @modules_connection %>
4
-
5
- <%= link_to 'Back', modules_connections_path %>
@@ -1,3 +1,3 @@
1
1
  module Phcpresspro
2
- VERSION = "4.1.5"
2
+ VERSION = "4.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcpresspro
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.5
4
+ version: 4.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts