phcscriptcdnpro 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/phcscriptcdnpro/scriptcdn/mains_controller.rb +2 -2
- data/app/models/phcscriptcdnpro/scriptcdn/main.rb +1 -1
- data/app/views/phcscriptcdnpro/scriptcdn/authors/_form.html.erb +6 -6
- data/app/views/phcscriptcdnpro/scriptcdn/authors/_formpatch.html.erb +6 -6
- data/app/views/phcscriptcdnpro/scriptcdn/authors/edit.html.erb +6 -0
- data/app/views/phcscriptcdnpro/scriptcdn/authors/index.html.erb +6 -0
- data/app/views/phcscriptcdnpro/scriptcdn/authors/new.html.erb +6 -0
- data/app/views/phcscriptcdnpro/scriptcdn/mains/edit.html.erb +6 -0
- data/app/views/phcscriptcdnpro/scriptcdn/mains/index.html.erb +7 -1
- data/app/views/phcscriptcdnpro/scriptcdn/mains/new.html.erb +6 -0
- data/lib/phcscriptcdnpro/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: b46a454a0cc04ee7331bbb9f4c7faaf4f6f55331
|
4
|
+
data.tar.gz: ae33e2c5eb9862eefc7d9ab086ea6debf75734fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5b7601e7efc2559f8ccc379a604cb1bc20dc8043060d6b9aa65b4a12ee7204ca4df561ca5bd9bf6e2f121979a242fecbd1bca64859d6c1ea91a639d5f9ff4ea
|
7
|
+
data.tar.gz: 9344fb411d4871b5a9fa4df9f1640281d8999fe356c7fe73dd9ccf6a24ddb57240e883cdce03135f2a471b747ced73c3eae42a28739c202c2b48e3c2065952c4
|
@@ -30,7 +30,7 @@ module Phcscriptcdnpro
|
|
30
30
|
def create
|
31
31
|
@scriptcdn_main = Scriptcdn::Main.new(scriptcdn_main_params)
|
32
32
|
if @scriptcdn_main.save
|
33
|
-
redirect_to @scriptcdn_main, notice: '
|
33
|
+
redirect_to @scriptcdn_main, notice: 'Script was successfully created.'
|
34
34
|
else
|
35
35
|
render :new
|
36
36
|
end
|
@@ -39,7 +39,7 @@ module Phcscriptcdnpro
|
|
39
39
|
# PATCH/PUT Script
|
40
40
|
def update
|
41
41
|
if @scriptcdn_main.update(scriptcdn_main_params)
|
42
|
-
redirect_to @scriptcdn_main, notice: '
|
42
|
+
redirect_to @scriptcdn_main, notice: 'Script was successfully updated.'
|
43
43
|
else
|
44
44
|
render :edit
|
45
45
|
end
|
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
<div class="form-group field_with_error">
|
6
6
|
<%= f.label :authorfirstname, "First Name" %>
|
7
|
-
<%= f.text_field :authorfirstname %>
|
7
|
+
<%= f.text_field :authorfirstname, class: "form-control" %>
|
8
8
|
</div>
|
9
9
|
<div class="form-group field_with_error">
|
10
10
|
<%= f.label :authorlastname, "Last Name" %>
|
11
|
-
<%= f.text_field :authorlastname %>
|
11
|
+
<%= f.text_field :authorlastname, class: "form-control" %>
|
12
12
|
</div>
|
13
13
|
<div class="form-group field_with_error">
|
14
14
|
<%= f.label :authoremail, "Last Name" %>
|
15
|
-
<%= f.text_field :authoremail %>
|
15
|
+
<%= f.text_field :authoremail, class: "form-control" %>
|
16
16
|
</div>
|
17
17
|
<div class="form-group field_with_error">
|
18
18
|
<%= f.label :authorgithub, "Last Name" %>
|
19
|
-
<%= f.text_field :authorgithub %>
|
19
|
+
<%= f.text_field :authorgithub, class: "form-control" %>
|
20
20
|
</div>
|
21
21
|
<div class="form-group field_with_error">
|
22
22
|
<%= f.label :authortwitter, "Last Name" %>
|
23
|
-
<%= f.text_field :authortwitter %>
|
23
|
+
<%= f.text_field :authortwitter, class: "form-control" %>
|
24
24
|
</div>
|
25
25
|
<div class="actions">
|
26
|
-
<%= f.submit %>
|
26
|
+
<%= f.submit class: "btn blue-hoki" %>
|
27
27
|
</div>
|
28
28
|
|
29
29
|
<% end %>
|
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
<div class="form-group field_with_error">
|
6
6
|
<%= f.label :authorfirstname, "First Name" %>
|
7
|
-
<%= f.text_field :authorfirstname %>
|
7
|
+
<%= f.text_field :authorfirstname, class: "form-control" %>
|
8
8
|
</div>
|
9
9
|
<div class="form-group field_with_error">
|
10
10
|
<%= f.label :authorlastname, "Last Name" %>
|
11
|
-
<%= f.text_field :authorlastname %>
|
11
|
+
<%= f.text_field :authorlastname, class: "form-control" %>
|
12
12
|
</div>
|
13
13
|
<div class="form-group field_with_error">
|
14
14
|
<%= f.label :authoremail, "Last Name" %>
|
15
|
-
<%= f.text_field :authoremail %>
|
15
|
+
<%= f.text_field :authoremail, class: "form-control" %>
|
16
16
|
</div>
|
17
17
|
<div class="form-group field_with_error">
|
18
18
|
<%= f.label :authorgithub, "Last Name" %>
|
19
|
-
<%= f.text_field :authorgithub %>
|
19
|
+
<%= f.text_field :authorgithub, class: "form-control" %>
|
20
20
|
</div>
|
21
21
|
<div class="form-group field_with_error">
|
22
22
|
<%= f.label :authortwitter, "Last Name" %>
|
23
|
-
<%= f.text_field :authortwitter %>
|
23
|
+
<%= f.text_field :authortwitter, class: "form-control" %>
|
24
24
|
</div>
|
25
25
|
<div class="actions">
|
26
|
-
<%= f.submit %>
|
26
|
+
<%= f.submit class: "btn blue-hoki" %>
|
27
27
|
</div>
|
28
28
|
|
29
29
|
<% end %>
|
@@ -6,12 +6,18 @@
|
|
6
6
|
<div class="page-bar">
|
7
7
|
|
8
8
|
<ul class="page-breadcrumb">
|
9
|
-
<li><%= link_to "Script Listing", phcscriptcdnpro.
|
9
|
+
<li><%= link_to "Script Listing", phcscriptcdnpro.scriptcdn_mains_path %><i class="fa fa-circle"></i></li>
|
10
10
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
11
11
|
</ul>
|
12
12
|
|
13
13
|
</div>
|
14
14
|
|
15
|
+
<!-- Page Title -->
|
16
|
+
<h3 class="page-title">
|
17
|
+
<%= yield(:phc_title) %> </br>
|
18
|
+
<small><%= yield(:phc_title_tagline) %></small>
|
19
|
+
</h3>
|
20
|
+
|
15
21
|
<!-- Main Content -->
|
16
22
|
<div class="row">
|
17
23
|
<div class="col-lg-12">
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phcscriptcdnpro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BradPotts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|