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 +4 -4
- data/app/views/phcpresspro/articles/posts/edit.html.erb +1 -12
- data/app/views/phcpresspro/articles/posts/new.html.erb +1 -12
- data/app/views/phcpresspro/modules/categories/_form.html.erb +2 -0
- data/app/views/phcpresspro/modules/categories/edit.html.erb +1 -12
- data/app/views/phcpresspro/modules/categories/index.html.erb +3 -1
- data/app/views/phcpresspro/modules/categories/new.html.erb +1 -12
- data/app/views/phcpresspro/modules/connections/_form.html.erb +21 -15
- data/app/views/phcpresspro/modules/connections/edit.html.erb +0 -5
- data/app/views/phcpresspro/modules/connections/index.html.erb +29 -20
- data/app/views/phcpresspro/modules/connections/new.html.erb +0 -4
- data/lib/phcpresspro/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 863953ae9e45913b3ab42c103e8c82ada479c2c7
|
4
|
+
data.tar.gz: aad0a84bb5b960cc9367df1b7b19f59360072bc1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9eb871ecc277375cebf4d8c9cda5952adb1bd1dc152b1c166e9e69fed6718315eded1796eae70b391e360b4d9abdd800d8995b91238baf4bfdbfd4936b43efbf
|
7
|
+
data.tar.gz: eaa75e5385a6699b81f7f6df0eb3d81239a3155e335e77ce2e596d6b8c40c16fdd33d86f0334c8e0abef29dad3aff93d3e523e61c5bbfa47ed09205fafa24794
|
@@ -1,12 +1 @@
|
|
1
|
-
|
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
|
-
|
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,12 +1 @@
|
|
1
|
-
|
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)
|
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
|
-
|
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
|
-
|
2
|
-
|
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
|
-
|
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
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
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,25 +1,34 @@
|
|
1
|
-
|
1
|
+
<!-- Main Content -->
|
2
|
+
<div class="wrapper wrapper-content">
|
3
|
+
<div class="panel panel-primary">
|
2
4
|
|
3
|
-
<
|
5
|
+
<div class="panel-heading">
|
6
|
+
<i class="fa fa-list-ul"></i> Connections List
|
7
|
+
</div>
|
4
8
|
|
5
|
-
<
|
6
|
-
<thead>
|
7
|
-
<tr>
|
8
|
-
<th colspan="3"></th>
|
9
|
-
</tr>
|
10
|
-
</thead>
|
9
|
+
<div class="panel-body">
|
11
10
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
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
|
-
<
|
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
|
29
|
+
<%= link_to 'New Connection', new_modules_connection_path, class: "btn btn-primary" %>
|
30
|
+
|
31
|
+
</div>
|
32
|
+
|
33
|
+
</div>
|
34
|
+
</div>
|
data/lib/phcpresspro/version.rb
CHANGED