phcscriptcdnpro 5.8.4 → 5.8.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/README.md +5 -6
- data/Rakefile +11 -14
- data/app/controllers/phcscriptcdnpro/application_controller.rb +48 -46
- data/app/controllers/phcscriptcdnpro/frontend/listings_controller.rb +4 -2
- data/app/controllers/phcscriptcdnpro/script/authors_controller.rb +70 -70
- data/app/controllers/phcscriptcdnpro/script/extensions_controller.rb +70 -70
- data/app/controllers/phcscriptcdnpro/script/licences_controller.rb +70 -70
- data/app/controllers/phcscriptcdnpro/script/listings_controller.rb +70 -70
- data/app/controllers/phcscriptcdnpro/script/urls_controller.rb +79 -79
- data/app/controllers/phcscriptcdnpro/script/versions_controller.rb +71 -69
- data/app/helpers/phcscriptcdnpro/application_helper.rb +9 -10
- data/app/jobs/phcscriptcdnpro/application_job.rb +2 -3
- data/app/mailers/phcscriptcdnpro/application_mailer.rb +4 -4
- data/app/models/phcscriptcdnpro/application_record.rb +3 -3
- data/app/models/phcscriptcdnpro/frontend.rb +2 -0
- data/app/models/phcscriptcdnpro/frontend/listing.rb +1 -2
- data/app/models/phcscriptcdnpro/script.rb +5 -5
- data/app/models/phcscriptcdnpro/script/author.rb +5 -5
- data/app/models/phcscriptcdnpro/script/extension.rb +6 -6
- data/app/models/phcscriptcdnpro/script/licence.rb +5 -5
- data/app/models/phcscriptcdnpro/script/listing.rb +13 -11
- data/app/models/phcscriptcdnpro/script/url.rb +9 -9
- data/app/models/phcscriptcdnpro/script/version.rb +7 -7
- data/app/views/layouts/phcscriptcdnpro/application.html.erb +6 -7
- data/app/views/layouts/phcscriptcdnpro/components/backend/footer/_footer.html.erb +1 -1
- data/app/views/layouts/phcscriptcdnpro/components/backend/navigation/_top_bar.html.erb +0 -1
- data/app/views/layouts/phcscriptcdnpro/components/backend/sidebars/_left_sidebar.html.erb +1 -2
- data/app/views/layouts/phcscriptcdnpro/frontend.html.erb +14 -16
- data/app/views/phcscriptcdnpro/frontend/listings/index.html.erb +30 -30
- data/app/views/phcscriptcdnpro/frontend/listings/show.html.erb +12 -12
- data/app/views/phcscriptcdnpro/script/authors/_form.html.erb +6 -0
- data/app/views/phcscriptcdnpro/script/authors/edit.html.erb +6 -7
- data/app/views/phcscriptcdnpro/script/authors/index.html.erb +19 -23
- data/app/views/phcscriptcdnpro/script/authors/new.html.erb +6 -7
- data/app/views/phcscriptcdnpro/script/authors/show.html.erb +6 -6
- data/app/views/phcscriptcdnpro/script/extensions/_form.html.erb +6 -0
- data/app/views/phcscriptcdnpro/script/extensions/edit.html.erb +8 -9
- data/app/views/phcscriptcdnpro/script/extensions/index.html.erb +6 -8
- data/app/views/phcscriptcdnpro/script/extensions/new.html.erb +8 -9
- data/app/views/phcscriptcdnpro/script/extensions/show.html.erb +7 -9
- data/app/views/phcscriptcdnpro/script/licences/_form.html.erb +7 -0
- data/app/views/phcscriptcdnpro/script/licences/edit.html.erb +6 -7
- data/app/views/phcscriptcdnpro/script/licences/index.html.erb +10 -12
- data/app/views/phcscriptcdnpro/script/licences/new.html.erb +6 -7
- data/app/views/phcscriptcdnpro/script/licences/show.html.erb +5 -7
- data/app/views/phcscriptcdnpro/script/listings/_form.html.erb +7 -1
- data/app/views/phcscriptcdnpro/script/listings/edit.html.erb +15 -0
- data/app/views/phcscriptcdnpro/script/listings/index.html.erb +14 -4
- data/app/views/phcscriptcdnpro/script/listings/new.html.erb +15 -0
- data/app/views/phcscriptcdnpro/script/listings/show.html.erb +14 -0
- data/app/views/phcscriptcdnpro/script/urls/_form.html.erb +6 -0
- data/app/views/phcscriptcdnpro/script/urls/edit.html.erb +17 -6
- data/app/views/phcscriptcdnpro/script/urls/index.html.erb +14 -7
- data/app/views/phcscriptcdnpro/script/urls/new.html.erb +17 -7
- data/app/views/phcscriptcdnpro/script/urls/show.html.erb +14 -10
- data/app/views/phcscriptcdnpro/script/versions/_form.html.erb +7 -0
- data/app/views/phcscriptcdnpro/script/versions/edit.html.erb +12 -8
- data/app/views/phcscriptcdnpro/script/versions/index.html.erb +11 -5
- data/app/views/phcscriptcdnpro/script/versions/new.html.erb +12 -8
- data/app/views/phcscriptcdnpro/script/versions/show.html.erb +11 -6
- data/config/routes.rb +21 -26
- data/db/migrate/20160821183652_create_phcscriptcdnpro_script_listings.rb +23 -23
- data/db/migrate/20160821183714_create_phcscriptcdnpro_script_authors.rb +17 -17
- data/db/migrate/20160821183735_create_phcscriptcdnpro_script_extensions.rb +12 -12
- data/db/migrate/20160821183805_create_phcscriptcdnpro_script_licences.rb +18 -18
- data/db/migrate/20160821183830_create_phcscriptcdnpro_script_urls.rb +16 -16
- data/db/migrate/20160821183946_create_phcscriptcdnpro_script_versions.rb +10 -10
- data/lib/phcscriptcdnpro/engine.rb +62 -61
- data/lib/phcscriptcdnpro/version.rb +1 -1
- metadata +2 -2
@@ -11,23 +11,23 @@
|
|
11
11
|
<h2><%= yield(:phc_title) %></h2>
|
12
12
|
<!-- Page Title -->
|
13
13
|
|
14
|
-
<!-- Bread
|
14
|
+
<!-- Bread Crumb -->
|
15
15
|
<ol class="breadcrumb">
|
16
16
|
<li><%= link_to "Script Extension Index", phcscriptcdn.script_extensions_path %></li>
|
17
17
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
18
18
|
</ol>
|
19
|
-
<!-- Bread
|
19
|
+
<!-- Bread Crumb -->
|
20
20
|
|
21
21
|
</div>
|
22
22
|
<div class="col-sm-8">
|
23
|
-
|
24
|
-
<!-- Back to
|
23
|
+
|
24
|
+
<!-- Back to Licence Index Button -->
|
25
25
|
<div class="title-action">
|
26
|
-
<%= link_to
|
27
|
-
<i class="fa fa-plus"></i> Back to Script
|
26
|
+
<%= link_to phcscriptcdnpro.script_licences_path, class: "btn btn-primary" do %>
|
27
|
+
<i class="fa fa-plus"></i> Back to Script Licence Index
|
28
28
|
<% end %>
|
29
29
|
</div>
|
30
|
-
<!-- Back to
|
30
|
+
<!-- Back to Licence Index Button -->
|
31
31
|
|
32
32
|
</div>
|
33
33
|
</div>
|
@@ -38,7 +38,6 @@
|
|
38
38
|
<div class="row">
|
39
39
|
<div class="col-lg-12">
|
40
40
|
|
41
|
-
<!-- Content Box -->
|
42
41
|
<div class="ibox float-e-margins">
|
43
42
|
<div class="ibox-title">
|
44
43
|
<h5><%= yield(:phc_title_tagline) %></h5>
|
@@ -58,9 +57,9 @@
|
|
58
57
|
|
59
58
|
</div>
|
60
59
|
</div>
|
61
|
-
<!-- Content Box -->
|
62
60
|
|
63
61
|
</div>
|
64
62
|
</div>
|
65
63
|
</div>
|
66
64
|
<!-- Page Content -->
|
65
|
+
|
@@ -11,23 +11,22 @@
|
|
11
11
|
<h2><%= yield(:phc_title) %></h2>
|
12
12
|
<!-- Page Title -->
|
13
13
|
|
14
|
-
<!-- Bread
|
14
|
+
<!-- Bread Crumb -->
|
15
15
|
<ol class="breadcrumb">
|
16
|
-
<li><%= link_to "Script Extension Index", phcscriptcdn.script_extensions_path %></li>
|
17
16
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
18
17
|
</ol>
|
19
|
-
<!-- Bread
|
18
|
+
<!-- Bread Crumb -->
|
20
19
|
|
21
20
|
</div>
|
22
21
|
<div class="col-sm-8">
|
23
|
-
|
24
|
-
<!-- New Extensions
|
22
|
+
|
23
|
+
<!-- New Script Extensions -->
|
25
24
|
<div class="title-action">
|
26
25
|
<%= link_to phcscriptcdnpro.new_script_extension_path, class: "btn btn-primary" do %>
|
27
26
|
<i class="fa fa-plus"></i> Add a New Script Extension
|
28
27
|
<% end %>
|
29
28
|
</div>
|
30
|
-
<!-- New Extensions
|
29
|
+
<!-- New Script Extensions -->
|
31
30
|
|
32
31
|
</div>
|
33
32
|
</div>
|
@@ -38,7 +37,6 @@
|
|
38
37
|
<div class="row">
|
39
38
|
<div class="col-lg-12">
|
40
39
|
|
41
|
-
<!-- Content Box -->
|
42
40
|
<div class="ibox float-e-margins">
|
43
41
|
<div class="ibox-title">
|
44
42
|
<h5><%= yield(:phc_title_tagline) %></h5>
|
@@ -74,9 +72,9 @@
|
|
74
72
|
|
75
73
|
</div>
|
76
74
|
</div>
|
77
|
-
<!-- Content Box -->
|
78
75
|
|
79
76
|
</div>
|
80
77
|
</div>
|
81
78
|
</div>
|
82
79
|
<!-- Page Content -->
|
80
|
+
|
@@ -11,23 +11,23 @@
|
|
11
11
|
<h2><%= yield(:phc_title) %></h2>
|
12
12
|
<!-- Page Title -->
|
13
13
|
|
14
|
-
<!-- Bread
|
14
|
+
<!-- Bread Crumb -->
|
15
15
|
<ol class="breadcrumb">
|
16
16
|
<li><%= link_to "Script Extension Index", phcscriptcdn.script_extensions_path %></li>
|
17
17
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
18
18
|
</ol>
|
19
|
-
<!-- Bread
|
19
|
+
<!-- Bread Crumb -->
|
20
20
|
|
21
21
|
</div>
|
22
22
|
<div class="col-sm-8">
|
23
|
-
|
24
|
-
<!-- Back to
|
23
|
+
|
24
|
+
<!-- Back to Licence Index Button -->
|
25
25
|
<div class="title-action">
|
26
|
-
<%= link_to
|
27
|
-
<i class="fa fa-plus"></i> Back to Script
|
26
|
+
<%= link_to phcscriptcdnpro.script_licences_path, class: "btn btn-primary" do %>
|
27
|
+
<i class="fa fa-plus"></i> Back to Script Licence Index
|
28
28
|
<% end %>
|
29
29
|
</div>
|
30
|
-
<!-- Back to
|
30
|
+
<!-- Back to Licence Index Button -->
|
31
31
|
|
32
32
|
</div>
|
33
33
|
</div>
|
@@ -38,7 +38,6 @@
|
|
38
38
|
<div class="row">
|
39
39
|
<div class="col-lg-12">
|
40
40
|
|
41
|
-
<!-- Content Box -->
|
42
41
|
<div class="ibox float-e-margins">
|
43
42
|
<div class="ibox-title">
|
44
43
|
<h5><%= yield(:phc_title_tagline) %></h5>
|
@@ -58,9 +57,9 @@
|
|
58
57
|
|
59
58
|
</div>
|
60
59
|
</div>
|
61
|
-
<!-- Content Box -->
|
62
60
|
|
63
61
|
</div>
|
64
62
|
</div>
|
65
63
|
</div>
|
66
64
|
<!-- Page Content -->
|
65
|
+
|
@@ -11,23 +11,23 @@
|
|
11
11
|
<h2><%= yield(:phc_title) %></h2>
|
12
12
|
<!-- Page Title -->
|
13
13
|
|
14
|
-
<!-- Bread
|
14
|
+
<!-- Bread Crumb -->
|
15
15
|
<ol class="breadcrumb">
|
16
16
|
<li><%= link_to "Script Extension Index", phcscriptcdn.script_extensions_path %></li>
|
17
17
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
18
18
|
</ol>
|
19
|
-
<!-- Bread
|
19
|
+
<!-- Bread Crumb -->
|
20
20
|
|
21
21
|
</div>
|
22
22
|
<div class="col-sm-8">
|
23
|
-
|
24
|
-
<!-- Back to
|
23
|
+
|
24
|
+
<!-- Back to Licence Index Button -->
|
25
25
|
<div class="title-action">
|
26
|
-
<%= link_to
|
27
|
-
<i class="fa fa-plus"></i> Back to Script
|
26
|
+
<%= link_to phcscriptcdnpro.script_licences_path, class: "btn btn-primary" do %>
|
27
|
+
<i class="fa fa-plus"></i> Back to Script Licence Index
|
28
28
|
<% end %>
|
29
29
|
</div>
|
30
|
-
<!-- Back to
|
30
|
+
<!-- Back to Licence Index Button -->
|
31
31
|
|
32
32
|
</div>
|
33
33
|
</div>
|
@@ -38,7 +38,6 @@
|
|
38
38
|
<div class="row">
|
39
39
|
<div class="col-lg-12">
|
40
40
|
|
41
|
-
<!-- Content Box -->
|
42
41
|
<div class="ibox float-e-margins">
|
43
42
|
<div class="ibox-title">
|
44
43
|
<h5><%= yield(:phc_title_tagline) %></h5>
|
@@ -60,7 +59,6 @@
|
|
60
59
|
|
61
60
|
</div>
|
62
61
|
</div>
|
63
|
-
<!-- Content Box -->
|
64
62
|
|
65
63
|
</div>
|
66
64
|
</div>
|
@@ -1,7 +1,10 @@
|
|
1
1
|
<%= form_for(script_licence) do |f| %>
|
2
2
|
|
3
|
+
<!-- For Validation by PHCNotifi -->
|
3
4
|
<%= render 'phcnotifi/validations', :object => @script_licence %>
|
5
|
+
<!-- For Validation by PHCNotifi -->
|
4
6
|
|
7
|
+
<!-- Form Fields -->
|
5
8
|
<div class="form-group field_with_error">
|
6
9
|
<%= f.label :lcncname, "Licence Name" %>
|
7
10
|
<%= f.text_field :lcncname, placeholder: "Licence Name", class: "form-control" %>
|
@@ -34,9 +37,13 @@
|
|
34
37
|
<%= f.label :lcncarvlfedora, "Fedora Approval" %>
|
35
38
|
<%= f.select( :lcncarvlfedora, [['No','No'],['Yes','Yes']], {}, {class: "form-control"}) %>
|
36
39
|
</div>
|
40
|
+
<!-- Form Fields -->
|
37
41
|
|
42
|
+
<!-- Form Button -->
|
38
43
|
<div class="actions">
|
39
44
|
<%= f.submit class: "btn btn-primary" %>
|
40
45
|
</div>
|
46
|
+
<!-- Form Button -->
|
41
47
|
|
42
48
|
<% end %>
|
49
|
+
|
@@ -11,23 +11,23 @@
|
|
11
11
|
<h2><%= yield(:phc_title) %></h2>
|
12
12
|
<!-- Page Title -->
|
13
13
|
|
14
|
-
<!-- Bread
|
14
|
+
<!-- Bread Crumb -->
|
15
15
|
<ol class="breadcrumb">
|
16
16
|
<li><%= link_to "Script Licence Index", phcscriptcdnpro.script_licences_path %></li>
|
17
17
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
18
18
|
</ol>
|
19
|
-
<!-- Bread
|
19
|
+
<!-- Bread Crumb -->
|
20
20
|
|
21
21
|
</div>
|
22
22
|
<div class="col-sm-8">
|
23
|
-
|
24
|
-
<!-- Back to
|
23
|
+
|
24
|
+
<!-- Back to Licence Index Button -->
|
25
25
|
<div class="title-action">
|
26
26
|
<%= link_to phcscriptcdnpro.script_licences_path, class: "btn btn-primary" do %>
|
27
27
|
<i class="fa fa-plus"></i> Back to Script Licence Index
|
28
28
|
<% end %>
|
29
29
|
</div>
|
30
|
-
<!-- Back to
|
30
|
+
<!-- Back to Licence Index Button -->
|
31
31
|
|
32
32
|
</div>
|
33
33
|
</div>
|
@@ -38,7 +38,6 @@
|
|
38
38
|
<div class="row">
|
39
39
|
<div class="col-lg-12">
|
40
40
|
|
41
|
-
<!-- Content Box -->
|
42
41
|
<div class="ibox float-e-margins">
|
43
42
|
<div class="ibox-title">
|
44
43
|
<h5><%= yield(:phc_title_tagline) %></h5>
|
@@ -58,9 +57,9 @@
|
|
58
57
|
|
59
58
|
</div>
|
60
59
|
</div>
|
61
|
-
<!-- Content Box -->
|
62
60
|
|
63
61
|
</div>
|
64
62
|
</div>
|
65
63
|
</div>
|
66
64
|
<!-- Page Content -->
|
65
|
+
|
@@ -11,23 +11,22 @@
|
|
11
11
|
<h2><%= yield(:phc_title) %></h2>
|
12
12
|
<!-- Page Title -->
|
13
13
|
|
14
|
-
<!-- Bread
|
14
|
+
<!-- Bread Crumb -->
|
15
15
|
<ol class="breadcrumb">
|
16
|
-
<li><%= link_to "Script Licence Index", phcscriptcdnpro.script_licences_path %></li>
|
17
16
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
18
17
|
</ol>
|
19
|
-
<!-- Bread
|
18
|
+
<!-- Bread Crumb -->
|
20
19
|
|
21
20
|
</div>
|
22
21
|
<div class="col-sm-8">
|
23
|
-
|
24
|
-
<!--
|
22
|
+
|
23
|
+
<!-- New Licence Button -->
|
25
24
|
<div class="title-action">
|
26
|
-
<%= link_to phcscriptcdnpro.
|
27
|
-
<i class="fa fa-plus"></i>
|
25
|
+
<%= link_to phcscriptcdnpro.new_script_licence_path, class: "btn btn-primary" do %>
|
26
|
+
<i class="fa fa-plus"></i> Create a New Script Licence
|
28
27
|
<% end %>
|
29
28
|
</div>
|
30
|
-
<!--
|
29
|
+
<!-- New Licence Button -->
|
31
30
|
|
32
31
|
</div>
|
33
32
|
</div>
|
@@ -38,7 +37,6 @@
|
|
38
37
|
<div class="row">
|
39
38
|
<div class="col-lg-12">
|
40
39
|
|
41
|
-
<!-- Content Box -->
|
42
40
|
<div class="ibox float-e-margins">
|
43
41
|
<div class="ibox-title">
|
44
42
|
<h5><%= yield(:phc_title_tagline) %></h5>
|
@@ -78,15 +76,15 @@
|
|
78
76
|
<td><%= link_to script_licence.lcncarvlfedora, script_licence %></td>
|
79
77
|
</tr>
|
80
78
|
<% end %>
|
81
|
-
</tbody>
|
82
|
-
</table>
|
79
|
+
</tbody>
|
80
|
+
</table>
|
83
81
|
</div>
|
84
82
|
|
85
83
|
</div>
|
86
84
|
</div>
|
87
|
-
<!-- Content Box -->
|
88
85
|
|
89
86
|
</div>
|
90
87
|
</div>
|
91
88
|
</div>
|
92
89
|
<!-- Page Content -->
|
90
|
+
|
@@ -11,23 +11,23 @@
|
|
11
11
|
<h2><%= yield(:phc_title) %></h2>
|
12
12
|
<!-- Page Title -->
|
13
13
|
|
14
|
-
<!-- Bread
|
14
|
+
<!-- Bread Crumb -->
|
15
15
|
<ol class="breadcrumb">
|
16
16
|
<li><%= link_to "Script Licence Index", phcscriptcdnpro.script_licences_path %></li>
|
17
17
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
18
18
|
</ol>
|
19
|
-
<!-- Bread
|
19
|
+
<!-- Bread Crumb -->
|
20
20
|
|
21
21
|
</div>
|
22
22
|
<div class="col-sm-8">
|
23
|
-
|
24
|
-
<!-- Back to
|
23
|
+
|
24
|
+
<!-- Back to Licence Index Button -->
|
25
25
|
<div class="title-action">
|
26
26
|
<%= link_to phcscriptcdnpro.script_licences_path, class: "btn btn-primary" do %>
|
27
27
|
<i class="fa fa-plus"></i> Back to Script Licence Index
|
28
28
|
<% end %>
|
29
29
|
</div>
|
30
|
-
<!-- Back to
|
30
|
+
<!-- Back to Licence Index Button -->
|
31
31
|
|
32
32
|
</div>
|
33
33
|
</div>
|
@@ -38,7 +38,6 @@
|
|
38
38
|
<div class="row">
|
39
39
|
<div class="col-lg-12">
|
40
40
|
|
41
|
-
<!-- Content Box -->
|
42
41
|
<div class="ibox float-e-margins">
|
43
42
|
<div class="ibox-title">
|
44
43
|
<h5><%= yield(:phc_title_tagline) %></h5>
|
@@ -58,9 +57,9 @@
|
|
58
57
|
|
59
58
|
</div>
|
60
59
|
</div>
|
61
|
-
<!-- Content Box -->
|
62
60
|
|
63
61
|
</div>
|
64
62
|
</div>
|
65
63
|
</div>
|
66
64
|
<!-- Page Content -->
|
65
|
+
|
@@ -11,23 +11,23 @@
|
|
11
11
|
<h2><%= yield(:phc_title) %></h2>
|
12
12
|
<!-- Page Title -->
|
13
13
|
|
14
|
-
<!-- Bread
|
14
|
+
<!-- Bread Crumb -->
|
15
15
|
<ol class="breadcrumb">
|
16
16
|
<li><%= link_to "Script Licence Index", phcscriptcdnpro.script_licences_path %></li>
|
17
17
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
18
18
|
</ol>
|
19
|
-
<!-- Bread
|
19
|
+
<!-- Bread Crumb -->
|
20
20
|
|
21
21
|
</div>
|
22
22
|
<div class="col-sm-8">
|
23
|
-
|
24
|
-
<!-- Back to
|
23
|
+
|
24
|
+
<!-- Back to Licence Index Button -->
|
25
25
|
<div class="title-action">
|
26
26
|
<%= link_to phcscriptcdnpro.script_licences_path, class: "btn btn-primary" do %>
|
27
27
|
<i class="fa fa-plus"></i> Back to Script Licence Index
|
28
28
|
<% end %>
|
29
29
|
</div>
|
30
|
-
<!-- Back to
|
30
|
+
<!-- Back to Licence Index Button -->
|
31
31
|
|
32
32
|
</div>
|
33
33
|
</div>
|
@@ -38,7 +38,6 @@
|
|
38
38
|
<div class="row">
|
39
39
|
<div class="col-lg-12">
|
40
40
|
|
41
|
-
<!-- Content Box -->
|
42
41
|
<div class="ibox float-e-margins">
|
43
42
|
<div class="ibox-title">
|
44
43
|
<h5><%= yield(:phc_title_tagline) %></h5>
|
@@ -60,7 +59,6 @@
|
|
60
59
|
|
61
60
|
</div>
|
62
61
|
</div>
|
63
|
-
<!-- Content Box -->
|
64
62
|
|
65
63
|
</div>
|
66
64
|
</div>
|
@@ -1,7 +1,10 @@
|
|
1
1
|
<%= form_for(script_listing) do |f| %>
|
2
2
|
|
3
|
+
<!-- For Validation by PHCNotifi -->
|
3
4
|
<%= render 'phcnotifi/validations', :object => @script_listing %>
|
5
|
+
<!-- For Validation by PHCNotifi -->
|
4
6
|
|
7
|
+
<!-- Form Fields -->
|
5
8
|
<div class="form-group field_with_error">
|
6
9
|
<%= f.label :scripttitle, "Script Title" %>
|
7
10
|
<%= f.text_field :scripttitle, placeholder: "Script Title", class: "form-control" %>
|
@@ -54,9 +57,12 @@
|
|
54
57
|
<%= f.label :scriptstatus, "Script Status" %>
|
55
58
|
<%= f.select( :scriptstatus, [['Active','Active'],['Outdated','Out Dated'],['Deactivated','Not Active']], {}, {class: "form-control"}) %>
|
56
59
|
</div>
|
60
|
+
<!-- Form Fields -->
|
57
61
|
|
58
|
-
|
62
|
+
<!-- Form Button -->
|
63
|
+
<div class="actions">
|
59
64
|
<%= f.submit class: "btn btn-primary" %>
|
60
65
|
</div>
|
66
|
+
<!-- Form Button -->
|
61
67
|
|
62
68
|
<% end %>
|
@@ -6,19 +6,29 @@
|
|
6
6
|
<!-- Page Header -->
|
7
7
|
<div class="row wrapper border-bottom white-bg page-heading">
|
8
8
|
<div class="col-sm-4">
|
9
|
+
|
10
|
+
<!-- Page Title -->
|
9
11
|
<h2><%= yield(:phc_title) %></h2>
|
12
|
+
<!-- Page Title -->
|
13
|
+
|
10
14
|
<!-- Bread Crumb -->
|
11
15
|
<ol class="breadcrumb">
|
12
16
|
<li><%= link_to "Listing Index", phcscriptcdnpro.script_listings_path %></li>
|
13
17
|
<li class="active"><%= yield(:phc_title_tagline) %></li>
|
14
18
|
</ol>
|
19
|
+
<!-- Bread Crumb -->
|
20
|
+
|
15
21
|
</div>
|
16
22
|
<div class="col-sm-8">
|
23
|
+
|
24
|
+
<!-- Back to Listings Index Button -->
|
17
25
|
<div class="title-action">
|
18
26
|
<%= link_to phcscriptcdnpro.script_listings_path, class: "btn btn-primary" do %>
|
19
27
|
<i class="fa fa-plus"></i> Back to Listing Index
|
20
28
|
<% end %>
|
21
29
|
</div>
|
30
|
+
<!-- Back to Listings Index Button -->
|
31
|
+
|
22
32
|
</div>
|
23
33
|
</div>
|
24
34
|
<!-- Page Header -->
|
@@ -27,6 +37,7 @@
|
|
27
37
|
<div class="wrapper wrapper-content animated fadeInRight">
|
28
38
|
<div class="row">
|
29
39
|
<div class="col-lg-12">
|
40
|
+
|
30
41
|
<div class="ibox float-e-margins">
|
31
42
|
<div class="ibox-title">
|
32
43
|
<h5><%= yield(:phc_title_tagline) %></h5>
|
@@ -40,11 +51,15 @@
|
|
40
51
|
</div>
|
41
52
|
</div>
|
42
53
|
<div class="ibox-content">
|
54
|
+
|
43
55
|
<!-- Form Requries URL to Function Properly -->
|
44
56
|
<%= render 'form', script_listing: @script_listing %>
|
57
|
+
|
45
58
|
</div>
|
46
59
|
</div>
|
60
|
+
|
47
61
|
</div>
|
48
62
|
</div>
|
49
63
|
</div>
|
50
64
|
<!-- Page Content -->
|
65
|
+
|