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 +4 -4
- data/app/views/phcscriptcdnpro/scriptcdn/urls/_form.html.erb +3 -4
- data/app/views/phcscriptcdnpro/scriptcdn/urls/_formpatch.html.erb +1 -2
- data/app/views/phcscriptcdnpro/scriptcdn/urls/edit.html.erb +1 -1
- data/app/views/phcscriptcdnpro/scriptcdn/urls/index.html.erb +1 -1
- data/app/views/phcscriptcdnpro/scriptcdn/urls/new.html.erb +1 -1
- data/app/views/phcscriptcdnpro/scriptcdn/urls/show.html.erb +0 -3
- data/app/views/phcscriptcdnpro/scriptcdn/versions/_form.html.erb +9 -17
- data/app/views/phcscriptcdnpro/scriptcdn/versions/edit.html.erb +1 -1
- data/app/views/phcscriptcdnpro/scriptcdn/versions/index.html.erb +1 -1
- data/lib/phcscriptcdnpro/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbcf3f4bdafe4a7782288a30b74d117729b004cb
|
4
|
+
data.tar.gz: d04bed02f7cd301e86c0e47bdb160f6a2afbbae2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25cdfd2f8055b1afe8c1723561d5492a8ddd9f503af6ded61dc8b94802af1e1d3708263e188015ab775a564c2004fb44a606f44171ecadcdc493a40a66cc2f0e
|
7
|
+
data.tar.gz: 3788ad6405a5c2a4f5dc982d2ebcd0351d509da648cd42f7a62dc27ac0625260e5844e54e973d9ca4afc5a50cb515b6ad08178fd9c59b93bb87888a2d83b8038
|
@@ -1,7 +1,6 @@
|
|
1
|
-
<%= form_for([@scriptcdn_url.
|
1
|
+
<%= form_for([@scriptcdn_url.main, @scriptcdn_url], url: scriptcdn_main_urls_path) do |f| %>
|
2
2
|
|
3
|
-
|
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.
|
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
|
|
@@ -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
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
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
|
|