phcscriptcdnpro 5.2.3 → 5.3.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc922f84f78058c0ba4913695a5e71c31ef06819
|
4
|
+
data.tar.gz: 28f62ae128005f2e618a39c125f0b5d094b20fd2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13c9521bb7a7888fdcda3e82dd9df16fc795872ccc4658047b95e1a512a08b84c70eee7f011aee9cc4c254737aec1d88061b328895ed4eb91541525a1f504920
|
7
|
+
data.tar.gz: 1e8a5e6dce158666656f3bb0a214d77131f672557951db5876bb9197e2b5b02dda38c4cce138566c1a6cf50dc9988b01391843fd53a6533f7d33aed0d06618ad
|
@@ -59,7 +59,7 @@ module Phcscriptcdnpro
|
|
59
59
|
|
60
60
|
# Whitelist
|
61
61
|
def script_listing_params
|
62
|
-
params.require(:script_listing).permit(:scripttitle, :scriptdescription, :scriptwebsite, :scripttwitter, :scriptgithub, :scriptinitialrelease, :scriptlastestrelease, :scriptbetarelease, :scriptstatus, :version_id)
|
62
|
+
params.require(:script_listing).permit(:scripttitle, :scriptdescription, :scriptwebsite, :scripttwitter, :scriptgithub, :scriptinitialrelease, :scriptlastestrelease, :scriptbetarelease, :scriptstatus, :version_id, :author_id, :licence_id)
|
63
63
|
end
|
64
64
|
|
65
65
|
end
|
@@ -43,12 +43,12 @@
|
|
43
43
|
<%= collection_select(:script_listing, :licence_id, Phcscriptcdnpro::Script::Licence.order('lcncname'), :id, :lcncname, {}, {class: "form-control"}) %>
|
44
44
|
</div>
|
45
45
|
<div class="form-group field_with_errors">
|
46
|
-
<label>Script
|
46
|
+
<label>Script Author</label>
|
47
47
|
<%= collection_select(:script_listing, :author_id, Phcscriptcdnpro::Script::Author.order('authorfirstname'), :id, :authorfirstname, {}, {class: "form-control"}) %>
|
48
48
|
</div>
|
49
49
|
<div class="form-group field_with_error">
|
50
50
|
<%= f.label :scriptstatus, "Script Status" %>
|
51
|
-
<%= f.select( :scriptstatus, [['Active','Active'],['Outdated','Out Dated'],['Deactivated','Not Active']], {}, {class: "form-control
|
51
|
+
<%= f.select( :scriptstatus, [['Active','Active'],['Outdated','Out Dated'],['Deactivated','Not Active']], {}, {class: "form-control"}) %>
|
52
52
|
</div>
|
53
53
|
|
54
54
|
<div class="form-group field_with_error">
|