phcscriptcdnpro 1.5.5 → 1.5.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: 36e48c36d611e9aec04349149cbd11e8c699ecf7
4
- data.tar.gz: eed0abb554fd5597f22b810739245bcfc1a4a6c8
3
+ metadata.gz: 77b880530c42fb10372e8d48a1c3c80ef9186752
4
+ data.tar.gz: 1664871b1380bec69126a1f38e48d6ef91e09046
5
5
  SHA512:
6
- metadata.gz: f44769a7e2d114bf8742d0aaf8d81b06301593f2d62a315edb7cc5dfe7c61028b74e7ae77a7a9ebecc531f1876cfa26767cc6dc44b576047c1ddac4aa12b088b
7
- data.tar.gz: f3e86673bfd152cae911cc0ca3330a9304fcfdfd4663ddbc01dd1951b1de7df6cfa2ad80c19b9505e837546461ce85270a15ed5eadf9e990603d237201dbb555
6
+ metadata.gz: 35ae750b244b79e122ce54e9b8acdf7d68eeb8486a5a6ab9328947cca85b79fe728cfa6fe4a242273f40f4a340178cfd00ff4878554eeb4d7272de06c2a22c9d
7
+ data.tar.gz: 97025c21293195aec5c781d05488cc0772db47e064194f1e8a02f52d9b5503d327c81aec778b83b870594187e66a12eb0510d9162e7cac69b72cde9489eb83bd
@@ -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, :authoremail, :authorgithub, :authortwitter, :script_id)
66
+ params.require(:scriptcdn_author).permit(:authorfirstname, :authorlastname, :authoremail, :authorgithub, :authortwitter, :main_id)
67
67
  end
68
68
 
69
69
  end
@@ -1,26 +1,26 @@
1
- <%= form_for([@scriptcdn_author.script, @scriptcdn_author], url: scriptcdn_script_authors_path) do |f| %>
1
+ <%= form_for([@scriptcdn_author.main, @scriptcdn_author], url: scriptcdn_main_authors_path) do |f| %>
2
2
 
3
3
  <%= render 'phcnotifi/validations', :object => @scriptcdn_author %>
4
4
 
5
5
  <div class="form-group field_with_error">
6
6
  <%= f.label :authorfirstname, "First Name" %>
7
- <%= f.text_field :authorfirstname, class: "form-control" %>
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
10
  <%= f.label :authorlastname, "Last Name" %>
11
- <%= f.text_field :authorlastname, class: "form-control" %>
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
14
  <%= f.label :authoremail, "Last Name" %>
15
- <%= f.text_field :authoremail, class: "form-control" %>
15
+ <%= f.text_field :authoremail, placeholder: "Author Email", 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, class: "form-control" %>
19
+ <%= f.text_field :authorgithub, placeholder: "Author Github", 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, class: "form-control" %>
23
+ <%= f.text_field :authortwitter, placeholder: "Author Twitter", class: "form-control" %>
24
24
  </div>
25
25
  <div class="actions">
26
26
  <%= f.submit class: "btn blue-hoki" %>
@@ -1,29 +1,28 @@
1
- <%= form_for([@scriptcdn_author.script, @scriptcdn_author], url: scriptcdn_script_author_path, method: :patch) do |f| %>
1
+ <%= form_for([@scriptcdn_author.main, @scriptcdn_author], url: scriptcdn_main_author_path, method: :patch) do |f| %>
2
2
 
3
3
  <%= render 'phcnotifi/validations', :object => @scriptcdn_author %>
4
4
 
5
5
  <div class="form-group field_with_error">
6
6
  <%= f.label :authorfirstname, "First Name" %>
7
- <%= f.text_field :authorfirstname, class: "form-control" %>
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
10
  <%= f.label :authorlastname, "Last Name" %>
11
- <%= f.text_field :authorlastname, class: "form-control" %>
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
14
  <%= f.label :authoremail, "Last Name" %>
15
- <%= f.text_field :authoremail, class: "form-control" %>
15
+ <%= f.text_field :authoremail, placeholder: "Author Email", 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, class: "form-control" %>
19
+ <%= f.text_field :authorgithub, placeholder: "Author Github", 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, class: "form-control" %>
23
+ <%= f.text_field :authortwitter, placeholder: "Author Twitter", class: "form-control" %>
24
24
  </div>
25
25
  <div class="actions">
26
26
  <%= f.submit class: "btn blue-hoki" %>
27
27
  </div>
28
-
29
28
  <% end %>
@@ -6,7 +6,7 @@
6
6
  <div class="page-bar">
7
7
 
8
8
  <ul class="page-breadcrumb">
9
- <li><%= link_to "Script Versions", scriptcdn_main_aauthors_path %><i class="fa fa-circle"></i></li>
9
+ <li><%= link_to "Script Versions", scriptcdn_main_authors_path %><i class="fa fa-circle"></i></li>
10
10
  <li class="active"><%= yield(:phc_title_tagline) %></li>
11
11
  </ul>
12
12
 
@@ -8,8 +8,8 @@
8
8
  <%= f.text_field :scriptname, placeholder: "Script Name", class: "form-control" %>
9
9
  </div>
10
10
  <div class="form-group field_with_error">
11
- <%= f.label :scriptdescription, "Script Description", class: "form-control" %>
12
- <%= f.text_area :scriptdescription %>
11
+ <%= f.label :scriptdescription, "Script Description" %>
12
+ <%= f.text_area :scriptdescription, placeholder: "Script Description", class: "form-control" %>
13
13
  </div>
14
14
  <div class="form-group field_with_error">
15
15
  <%= f.submit class: "btn blue-hoki" %>
@@ -6,7 +6,7 @@
6
6
  <div class="page-bar">
7
7
 
8
8
  <ul class="page-breadcrumb">
9
- <li><%= link_to "Scripts Main", scriptcdn_mains_path %><i class="fa fa-circle"></i></li>
9
+ <li><%= link_to "Scripts Main", 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
 
@@ -6,7 +6,7 @@
6
6
  <div class="page-bar">
7
7
 
8
8
  <ul class="page-breadcrumb">
9
- <li><%= link_to "Scripts Main", scriptcdn_mains_path %><i class="fa fa-circle"></i></li>
9
+ <li><%= link_to "Scripts Main", 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
 
@@ -7,6 +7,3 @@
7
7
  <strong>Scriptdescription:</strong>
8
8
  <%= @scriptcdn_main.scriptdescription %>
9
9
  </p>
10
-
11
- <%= link_to 'Edit', edit_scriptcdn_main_path(scriptcdn_main) %> |
12
- <%= link_to 'Back', scriptcdn_mains_path %>
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdnpro
2
- VERSION = "1.5.5"
2
+ VERSION = "1.5.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcscriptcdnpro
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.5
4
+ version: 1.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts