phcscriptcdnpro 1.9.4 → 1.9.5
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/authors_controller.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/db/migrate/20160617181959_create_phcscriptcdnpro_scriptcdn_authors.rb +1 -1
- 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: 41a4b7ce0324a7c43d06960f63ea8f93a7fc459a
|
4
|
+
data.tar.gz: e3dfa0236d72930cf6004f5a9783006493cbb82a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 306903dfcff231dd4a609ecc23decb6a54709c90f6597bfce4c3215e44aa78e253bf392d973a234c1a9de08ec25e02ede82b7b43f074aa8a7109335832fc941d
|
7
|
+
data.tar.gz: a8cec50d9cb49ec4569fcfd06046186a8d146453f1a4393b099a3ad68ac974fbb6bc481098369bd4fed25d1018ea38974c08ea889d881fa3af4fdae6b1719382
|
@@ -63,7 +63,7 @@ module Phcscriptcdnpro
|
|
63
63
|
|
64
64
|
# Whitelist
|
65
65
|
def scriptcdn_author_params
|
66
|
-
params.require(:scriptcdn_author).permit(:authorfirstname, :authorlastname, :
|
66
|
+
params.require(:scriptcdn_author).permit(:authorfirstname, :authorlastname, :authorwebsite, :authorgithub, :authortwitter, :main_id)
|
67
67
|
end
|
68
68
|
|
69
69
|
end
|
@@ -3,23 +3,23 @@
|
|
3
3
|
<%= render 'phcnotifi/validations', :object => @scriptcdn_author %>
|
4
4
|
|
5
5
|
<div class="form-group field_with_error">
|
6
|
-
<%= f.label :authorfirstname, "First Name" %>
|
6
|
+
<%= f.label :authorfirstname, "Author First Name" %>
|
7
7
|
<%= f.text_field :authorfirstname, placeholder: "Author First Name", class: "form-control" %>
|
8
8
|
</div>
|
9
9
|
<div class="form-group field_with_error">
|
10
|
-
<%= f.label :authorlastname, "Last Name" %>
|
10
|
+
<%= f.label :authorlastname, "Author Last Name" %>
|
11
11
|
<%= f.text_field :authorlastname, placeholder: "Author Last Name", class: "form-control" %>
|
12
12
|
</div>
|
13
13
|
<div class="form-group field_with_error">
|
14
|
-
<%= f.label :
|
15
|
-
<%= f.text_field :
|
14
|
+
<%= f.label :authorwebsite, "Author Website" %>
|
15
|
+
<%= f.text_field :authorwebsite, placeholder: "Author Website", class: "form-control" %>
|
16
16
|
</div>
|
17
17
|
<div class="form-group field_with_error">
|
18
|
-
<%= f.label :authorgithub, "
|
18
|
+
<%= f.label :authorgithub, "Author Github" %>
|
19
19
|
<%= f.text_field :authorgithub, placeholder: "Author Github", class: "form-control" %>
|
20
20
|
</div>
|
21
21
|
<div class="form-group field_with_error">
|
22
|
-
<%= f.label :authortwitter, "
|
22
|
+
<%= f.label :authortwitter, "Author Twitter" %>
|
23
23
|
<%= f.text_field :authortwitter, placeholder: "Author Twitter", class: "form-control" %>
|
24
24
|
</div>
|
25
25
|
<div class="actions">
|
@@ -3,23 +3,23 @@
|
|
3
3
|
<%= render 'phcnotifi/validations', :object => @scriptcdn_author %>
|
4
4
|
|
5
5
|
<div class="form-group field_with_error">
|
6
|
-
<%= f.label :authorfirstname, "First Name" %>
|
6
|
+
<%= f.label :authorfirstname, "Author First Name" %>
|
7
7
|
<%= f.text_field :authorfirstname, placeholder: "Author First Name", class: "form-control" %>
|
8
8
|
</div>
|
9
9
|
<div class="form-group field_with_error">
|
10
|
-
<%= f.label :authorlastname, "Last Name" %>
|
10
|
+
<%= f.label :authorlastname, "Author Last Name" %>
|
11
11
|
<%= f.text_field :authorlastname, placeholder: "Author Last Name", class: "form-control" %>
|
12
12
|
</div>
|
13
13
|
<div class="form-group field_with_error">
|
14
|
-
<%= f.label :
|
15
|
-
<%= f.text_field :
|
14
|
+
<%= f.label :authorwebsite, "Author Website" %>
|
15
|
+
<%= f.text_field :authorwebsite, placeholder: "Author Website", class: "form-control" %>
|
16
16
|
</div>
|
17
17
|
<div class="form-group field_with_error">
|
18
|
-
<%= f.label :authorgithub, "
|
18
|
+
<%= f.label :authorgithub, "Author Github" %>
|
19
19
|
<%= f.text_field :authorgithub, placeholder: "Author Github", class: "form-control" %>
|
20
20
|
</div>
|
21
21
|
<div class="form-group field_with_error">
|
22
|
-
<%= f.label :authortwitter, "
|
22
|
+
<%= f.label :authortwitter, "Author Twitter" %>
|
23
23
|
<%= f.text_field :authortwitter, placeholder: "Author Twitter", class: "form-control" %>
|
24
24
|
</div>
|
25
25
|
<div class="actions">
|
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.9.
|
4
|
+
version: 1.9.5
|
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-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|