phcscriptcdnpro 1.5.7 → 1.5.8

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: 012c989ba7c67177fb070b42526d7dc3e8211587
4
- data.tar.gz: 6c36b79b6fec9c7f305a79c02a128ca2139bf646
3
+ metadata.gz: bbcf3f4bdafe4a7782288a30b74d117729b004cb
4
+ data.tar.gz: d04bed02f7cd301e86c0e47bdb160f6a2afbbae2
5
5
  SHA512:
6
- metadata.gz: 93a24fb20ac223830eac76dd31fe60f82fe3161da702b3633d92d51dadcee7e2076d9a8f94ecc04b0c9f35dfb73f57417e76ca3d2dccac334fdfc31fe90227c3
7
- data.tar.gz: 9aecc9ae7d5e3ecbc2ca6c6056a577a14343f5f2ecfb85ee94ae2edea9070bcd1675588cd5977facb6c08ddfde44b726532f22272aa5be3190e2bc1f4eff5194
6
+ metadata.gz: 25cdfd2f8055b1afe8c1723561d5492a8ddd9f503af6ded61dc8b94802af1e1d3708263e188015ab775a564c2004fb44a606f44171ecadcdc493a40a66cc2f0e
7
+ data.tar.gz: 3788ad6405a5c2a4f5dc982d2ebcd0351d509da648cd42f7a62dc27ac0625260e5844e54e973d9ca4afc5a50cb515b6ad08178fd9c59b93bb87888a2d83b8038
@@ -1,7 +1,6 @@
1
- <%= form_for([@scriptcdn_url.script, @scriptcdn_url], url: scriptcdn_script_urls_path) do |f| %>
1
+ <%= form_for([@scriptcdn_url.main, @scriptcdn_url], url: scriptcdn_main_urls_path) do |f| %>
2
2
 
3
- # Validation Notifier
4
- <%= render 'phcnotifi/validations', :object => @scriptcdn_script %>
3
+ <%= render 'phcnotifi/validations', :object => @scriptcdn_url %>
5
4
 
6
5
  <div class="form-group field_with_error">
7
6
  <%= f.label :scripturl, "Script URL" %>
@@ -11,4 +10,4 @@
11
10
  <%= f.submit, class: "btn blue-hoki" %>
12
11
  </div>
13
12
 
14
- <% end %>
13
+ <% end %>
@@ -1,6 +1,5 @@
1
- <%= form_for([@scriptcdn_url.script, @scriptcdn_url], url: scriptcdn_script_url_path, method: :patch) do |f| %>
1
+ <%= form_for([@scriptcdn_url.main, @scriptcdn_url], url: scriptcdn_main_url_path, method: :patch) do |f| %>
2
2
 
3
- # Validation Notifier
4
3
  <%= render 'phcnotifi/validations', :object => @scriptcdn_script %>
5
4
 
6
5
  <div class="form-group field_with_error">
@@ -6,7 +6,7 @@
6
6
  <div class="page-bar">
7
7
 
8
8
  <ul class="page-breadcrumb">
9
- <li><%= link_to "Script URL List", scriptcdn_main_urls_path %><i class="fa fa-circle"></i></li>
9
+ <li><%= link_to "Script URL List", phcscriptcdnpro.scriptcdn_main_urls_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 "Script Versions", scriptcdn_main_urls_path %><i class="fa fa-circle"></i></li>
9
+ <li><%= link_to "Script Versions", phcscriptcdnpro.scriptcdn_main_urls_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 "Script URL List", scriptcdn_main_urls_path %><i class="fa fa-circle"></i></li>
9
+ <li><%= link_to "Script URL List", phcscriptcdnpro.scriptcdn_main_urls_path %><i class="fa fa-circle"></i></li>
10
10
  <li class="active"><%= yield(:phc_title_tagline) %></li>
11
11
  </ul>
12
12
 
@@ -4,6 +4,3 @@
4
4
  <strong>Scripturl:</strong>
5
5
  <%= @scriptcdn_url.scripturl %>
6
6
  </p>
7
-
8
- <%= link_to 'Edit', edit_scriptcdn_url_path(@scriptcdn_url) %> |
9
- <%= link_to 'Back', scriptcdn_urls_path %>
@@ -1,21 +1,13 @@
1
1
  <%= form_for(@scriptcdn_version) do |f| %>
2
- <% if @scriptcdn_version.errors.any? %>
3
- <div id="error_explanation">
4
- <h2><%= pluralize(@scriptcdn_version.errors.count, "error") %> prohibited this scriptcdn_version from being saved:</h2>
5
2
 
6
- <ul>
7
- <% @scriptcdn_version.errors.full_messages.each do |message| %>
8
- <li><%= message %></li>
9
- <% end %>
10
- </ul>
11
- </div>
12
- <% end %>
3
+ <%= render 'phcnotifi/validations', :object => @scriptcdn_version %>
4
+
5
+ <div class="form-group field_with_error">
6
+ <%= f.label :scriptversion %>
7
+ <%= f.text_field :scriptversion, placeholder: "Script Version", class: "form-control" %>
8
+ </div>
9
+ <div class="actions">
10
+ <%= f.submit, class: "btn blue-hoki" %>
11
+ </div>
13
12
 
14
- <div class="field">
15
- <%= f.label :scriptversion %><br>
16
- <%= f.text_field :scriptversion %>
17
- </div>
18
- <div class="actions">
19
- <%= f.submit %>
20
- </div>
21
13
  <% 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_versions_path %><i class="fa fa-circle"></i></li>
9
+ <li><%= link_to "Script Versions", phcscriptcdnpro.scriptcdn_versions_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 "Script Versions", scriptcdn_versions_path %><i class="fa fa-circle"></i></li>
9
+ <li><%= link_to "Script Versions", phcscriptcdnpro.scriptcdn_versions_path %><i class="fa fa-circle"></i></li>
10
10
  <li class="active"><%= yield(:phc_title_tagline) %></li>
11
11
  </ul>
12
12
 
@@ -1,3 +1,3 @@
1
1
  module Phcscriptcdnpro
2
- VERSION = "1.5.7"
2
+ VERSION = "1.5.8"
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.7
4
+ version: 1.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts