phcscriptcdnpro 1.11.6 → 1.11.7

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: a0addf8b489b23ebb55110c1bb6c612c8630333d
4
- data.tar.gz: c5c3d7b5c6eb2a89b7289b721198051e87f15273
3
+ metadata.gz: 2596062e01c240b83372a490f8c40d4ef1697f56
4
+ data.tar.gz: ef50c361bda0582a36f61bc0303925be60a9f069
5
5
  SHA512:
6
- metadata.gz: 4798fbe0985147f8bcd5d6bce680986c27c8eb62595558d60cf96ee2e6fad63c7177e1058b3c4f40efd8931dd3209ea24e67173d7493a0680a6e61ab6db4bc67
7
- data.tar.gz: dae165702d4be1f4ae13b89051dc80c50d3c4d8cd591572b3e0a72257419cfd5b6d7d1fbf7e7d85833ac0b738a85c3d93f400a8e0663ee3e1338b2b528b7414f
6
+ metadata.gz: c0bc34b578d403240603cfc64a08adabe95a51bdf12d9fb2d50db6cb9459b0b24564b8371ad8e22277a30f62889dcbdd3a9aa780c5ed397c1e17edcbd555c259
7
+ data.tar.gz: a1c9384ce47031d93160590b88a6815aa244aa4c47219a16c0859605ddb21d60a8e45a2ce4be6b7e3effa33e8d9f0d609ee545f4b1989442c2b8044fb6896467
@@ -1,4 +1,4 @@
1
- <%= form_for(@scriptcdn_information) do |f| %>
1
+ <%= form_for([@scriptcdn_information.main, @scriptcdn_information], url: scriptcdn_main_informations_path) do |f| %>
2
2
 
3
3
  <%= render 'phcnotifi/validations', :object => @scriptcdn_information %>
4
4
 
@@ -0,0 +1,49 @@
1
+ <%= form_for([@scriptcdn_information.main, @scriptcdn_information], url: scriptcdn_main_information_path, method: :patch) do |f| %>
2
+
3
+ <%= render 'phcnotifi/validations', :object => @scriptcdn_information %>
4
+
5
+ <div class="form-group field_with_error">
6
+ <%= f.label :scripttitle, "Script Title" %>
7
+ <%= f.text_field :scripttitle, placeholder: "Script Information Title", class: "form-control" %>
8
+ </div>
9
+ <div class="form-group field_with_error">
10
+ <%= f.label :scriptdescription, "Script Description" %>
11
+ <%= f.text_field :scriptdescription, placeholder: "Script Information Description", class: "form-control" %>
12
+ </div>
13
+ <div class="form-group field_with_error">
14
+ <%= f.label :scriptcategory, "Script Category" %>
15
+ <%= f.select( :scriptcategory, [['HTML','html'],['CSS','css']], { :multiple => true, :size => 5 }, {class: "form-control form-control"}) %>
16
+ </div>
17
+ <div class="form-group field_with_error">
18
+ <%= f.label :scriptwebsite, "Script Website" %>
19
+ <%= f.text_field :scriptwebsite, placeholder: "Script Information Website", class: "form-control" %>
20
+ </div>
21
+ <div class="form-group field_with_error">
22
+ <%= f.label :scripttwitter, "Script Twitter" %>
23
+ <%= f.text_field :scripttwitter, placeholder: "Script Information Twitter Address", class: "form-control" %>
24
+ </div>
25
+ <div class="form-group field_with_error">
26
+ <%= f.label :scriptgithub, "Script Github" %>
27
+ <%= f.text_field :scriptgithub, placeholder: "Script Information Github Address", class: "form-control" %>
28
+ </div>
29
+ <div class="form-group field_with_error">
30
+ <%= f.label :scriptinitialrelease, "Initial Release" %>
31
+ <%= f.date_select :scriptinitialrelease, placeholder: "Script Information Initial Release", class: "form-control" %>
32
+ </div>
33
+ <div class="form-group field_with_error">
34
+ <%= f.label :scriptlicence, "Script Licence" %>
35
+ <%= f.select( :scriptlicence, [['MIT','MIT'],['Apache 2.0','Apache v2']], {}, {class: "form-control form-control-sm"}) %>
36
+ </div>
37
+ <div class="form-group field_with_error">
38
+ <%= f.label :scriptplatform, "Script Platform" %>
39
+ <%= f.select( :scriptplatform, [['Web Engine','Web Engine']], {}, {class: "form-control form-control"}) %>
40
+ </div>
41
+ <div class="form-group field_with_error">
42
+ <%= f.label :scriptstatus, "Script Status" %>
43
+ <%= f.select( :scriptstatus, [['Active','Active'],['Outdated','Out Dated'],['Deactivated','Not Active']], {}, {class: "form-control form-control"}) %>
44
+ </div>
45
+ <div class="form-group field_with_error">
46
+ <%= f.submit class: "btn blue-hoki" %>
47
+ </div>
48
+
49
+ <% end %>
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdnpro
2
- VERSION = "1.11.6"
2
+ VERSION = "1.11.7"
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.11.6
4
+ version: 1.11.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts
@@ -467,6 +467,7 @@ files:
467
467
  - app/views/phcscriptcdnpro/scriptcdn/authors/index.html.erb
468
468
  - app/views/phcscriptcdnpro/scriptcdn/authors/new.html.erb
469
469
  - app/views/phcscriptcdnpro/scriptcdn/informations/_form.html.erb
470
+ - app/views/phcscriptcdnpro/scriptcdn/informations/_formpatch.html.erb
470
471
  - app/views/phcscriptcdnpro/scriptcdn/informations/edit.html.erb
471
472
  - app/views/phcscriptcdnpro/scriptcdn/informations/index.html.erb
472
473
  - app/views/phcscriptcdnpro/scriptcdn/informations/new.html.erb