phcscriptcdnpro 64.1.0 → 65.0.0
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 +1 -1
- data/app/assets/stylesheets/phcscriptcdnpro/application.scss +1 -1
- data/app/controllers/phcscriptcdnpro/application_controller.rb +1 -2
- data/app/helpers/phcscriptcdnpro/script/authors_helper.rb +4 -0
- data/app/helpers/phcscriptcdnpro/script/extensions_helper.rb +4 -0
- data/app/helpers/phcscriptcdnpro/script/licences_helper.rb +4 -0
- data/app/helpers/phcscriptcdnpro/script/listings_helper.rb +4 -0
- data/app/helpers/phcscriptcdnpro/script/urls_helper.rb +4 -0
- data/app/helpers/phcscriptcdnpro/script/versions_helper.rb +4 -0
- data/app/mailers/phcscriptcdnpro/application_mailer.rb +1 -3
- data/app/views/layouts/phcscriptcdnpro/application.html.erb +54 -27
- data/app/views/layouts/phcscriptcdnpro/components/backend/footer/_footer.html.erb +1 -8
- data/app/views/layouts/phcscriptcdnpro/components/backend/navigation/_top_menu.html.erb +143 -0
- data/app/views/layouts/phcscriptcdnpro/components/backend/sidebars/_side_menu.html.erb +146 -0
- data/app/views/phcscriptcdnpro/script/authors/_form.html.erb +12 -12
- data/app/views/phcscriptcdnpro/script/authors/edit.html.erb +13 -44
- data/app/views/phcscriptcdnpro/script/authors/index.html.erb +33 -65
- data/app/views/phcscriptcdnpro/script/authors/new.html.erb +14 -44
- data/app/views/phcscriptcdnpro/script/extensions/_form.html.erb +8 -8
- data/app/views/phcscriptcdnpro/script/extensions/edit.html.erb +14 -44
- data/app/views/phcscriptcdnpro/script/extensions/index.html.erb +27 -58
- data/app/views/phcscriptcdnpro/script/extensions/new.html.erb +13 -44
- data/app/views/phcscriptcdnpro/script/licences/_form.html.erb +18 -18
- data/app/views/phcscriptcdnpro/script/licences/edit.html.erb +13 -44
- data/app/views/phcscriptcdnpro/script/licences/index.html.erb +37 -68
- data/app/views/phcscriptcdnpro/script/licences/new.html.erb +13 -44
- data/app/views/phcscriptcdnpro/script/listings/_form.html.erb +22 -22
- data/app/views/phcscriptcdnpro/script/listings/edit.html.erb +14 -44
- data/app/views/phcscriptcdnpro/script/listings/index.html.erb +31 -62
- data/app/views/phcscriptcdnpro/script/listings/new.html.erb +14 -45
- data/app/views/phcscriptcdnpro/script/urls/_form.html.erb +7 -7
- data/app/views/phcscriptcdnpro/script/urls/edit.html.erb +13 -44
- data/app/views/phcscriptcdnpro/script/urls/index.html.erb +29 -60
- data/app/views/phcscriptcdnpro/script/urls/new.html.erb +13 -44
- data/app/views/phcscriptcdnpro/script/versions/_form.html.erb +4 -4
- data/app/views/phcscriptcdnpro/script/versions/edit.html.erb +13 -44
- data/app/views/phcscriptcdnpro/script/versions/index.html.erb +25 -56
- data/app/views/phcscriptcdnpro/script/versions/new.html.erb +13 -46
- data/config/routes.rb +21 -27
- data/lib/phcscriptcdnpro/engine.rb +61 -3
- data/lib/phcscriptcdnpro/version.rb +1 -1
- metadata +11 -19
- data/app/controllers/phcscriptcdnpro/frontend/listings_controller.rb +0 -20
- data/app/models/phcscriptcdnpro/frontend.rb +0 -9
- data/app/models/phcscriptcdnpro/frontend/listing.rb +0 -8
- data/app/views/layouts/phcscriptcdnpro/components/backend/navigation/_top_bar.html.erb +0 -8
- data/app/views/layouts/phcscriptcdnpro/components/backend/sidebars/_left_sidebar.html.erb +0 -45
- data/app/views/layouts/phcscriptcdnpro/components/backend/sidebars/_right_sidebar.html.erb +0 -0
- data/app/views/layouts/phcscriptcdnpro/components/frontend/footer/_footer.html.erb +0 -14
- data/app/views/layouts/phcscriptcdnpro/components/frontend/footer/_footer_copyright.html.erb +0 -19
- data/app/views/layouts/phcscriptcdnpro/components/frontend/header/_slideout.html.erb +0 -24
- data/app/views/layouts/phcscriptcdnpro/components/frontend/header/_topbar.html.erb +0 -17
- data/app/views/layouts/phcscriptcdnpro/components/frontend/navigation/_navigation.html.erb +0 -27
- data/app/views/layouts/phcscriptcdnpro/components/frontend/pages/_titlebars.html.erb +0 -14
- data/app/views/layouts/phcscriptcdnpro/components/frontend/seo/_seo_main.html.erb +0 -5
- data/app/views/layouts/phcscriptcdnpro/frontend.html.erb +0 -70
- data/app/views/phcscriptcdnpro/frontend/listings/index.html.erb +0 -52
- data/app/views/phcscriptcdnpro/frontend/listings/show.html.erb +0 -65
@@ -5,53 +5,22 @@
|
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
6
|
<!-- Title System -->
|
7
7
|
|
8
|
-
<!-- Page
|
9
|
-
<div class="
|
10
|
-
<div class="
|
11
|
-
<
|
12
|
-
|
13
|
-
|
14
|
-
<
|
15
|
-
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
16
|
-
</ol>
|
17
|
-
<!-- Bread Crumb -->
|
18
|
-
</div>
|
19
|
-
<div class="col-sm-4">
|
20
|
-
<div class="title-action">
|
21
|
-
<%= link_to phcscriptcdnpro.script_extensions_path, class: "btn btn-primary" do %>
|
22
|
-
<i class="fa fa-plus"></i> Back to Script Licence Index
|
23
|
-
<% end %>
|
8
|
+
<!-- Page Content -->
|
9
|
+
<div class="panel panel-inverse">
|
10
|
+
<div class="panel-heading">
|
11
|
+
<div class="panel-heading-btn">
|
12
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
|
13
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
|
14
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
|
24
15
|
</div>
|
16
|
+
<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
|
25
17
|
</div>
|
26
|
-
|
27
|
-
<!-- Page Header -->
|
28
|
-
|
29
|
-
<!-- Page Content -->
|
30
|
-
<div class="wrapper wrapper-content animated fadeInRight">
|
31
|
-
<div class="row">
|
32
|
-
<div class="col-lg-12">
|
18
|
+
<div class="panel-body">
|
33
19
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
<a class="collapse-link">
|
39
|
-
<i class="fa fa-chevron-up"></i>
|
40
|
-
</a>
|
41
|
-
<a class="close-link">
|
42
|
-
<i class="fa fa-times"></i>
|
43
|
-
</a>
|
44
|
-
</div>
|
45
|
-
</div>
|
46
|
-
<div class="ibox-content">
|
47
|
-
|
48
|
-
<!-- Form Requries URL to Function Properly -->
|
49
|
-
<%= render 'form', script_extension: @script_extension %>
|
50
|
-
|
51
|
-
</div>
|
52
|
-
</div>
|
53
|
-
|
54
|
-
</div>
|
20
|
+
<!-- -->
|
21
|
+
<%= render 'form', script_extension: @script_extension %>
|
22
|
+
<!-- -->
|
23
|
+
|
55
24
|
</div>
|
56
25
|
</div>
|
57
26
|
<!-- Page Content -->
|
@@ -1,46 +1,46 @@
|
|
1
|
-
<%=
|
1
|
+
<%= form_with(model: script_licence, local: true) do |form| %>
|
2
2
|
|
3
3
|
<!-- PHCNotifi Render Validation -->
|
4
4
|
<%= render 'phcnotifi/validations', :object => @script_licence %>
|
5
5
|
|
6
6
|
<!-- Form Input Fields -->
|
7
7
|
<div class="form-group field_with_error">
|
8
|
-
<%=
|
9
|
-
<%=
|
8
|
+
<%= form.label :lcncname, "Licence Name" %>
|
9
|
+
<%= form.text_field :lcncname, placeholder: "Licence Name", class: "form-control" %>
|
10
10
|
</div>
|
11
11
|
<div class="form-group field_with_error">
|
12
|
-
<%=
|
13
|
-
<%=
|
12
|
+
<%= form.label :lcncdescript, "Licence Description" %>
|
13
|
+
<%= form.text_area :lcncdescript, placeholder: "Licence Descirption", class: "form-control" %>
|
14
14
|
</div>
|
15
15
|
<div class="form-group field_with_error">
|
16
|
-
<%=
|
17
|
-
<%=
|
16
|
+
<%= form.label :lcnccomgpl, "GPL(v3) Compatible" %>
|
17
|
+
<%= form.select( :lcnccomgpl, [['No','No'],['Yes','Yes']], {}, {class: "form-control"}) %>
|
18
18
|
</div>
|
19
19
|
<div class="form-group field_with_error">
|
20
|
-
<%=
|
21
|
-
<%=
|
20
|
+
<%= form.label :lcncarvlfsf, "FSF Approval" %>
|
21
|
+
<%= form.select( :lcncarvlfsf, [['No','No'],['Yes','Yes']], {}, {class: "form-control"}) %>
|
22
22
|
</div>
|
23
23
|
<div class="form-group field_with_error">
|
24
|
-
<%=
|
25
|
-
<%=
|
24
|
+
<%= form.label :lcncarvlosi, "OSI Approval" %>
|
25
|
+
<%= form.select( :lcncarvlosi, [['No','No'],['Yes','Yes']], {}, {class: "form-control"}) %>
|
26
26
|
</div>
|
27
27
|
<div class="form-group field_with_error">
|
28
|
-
<%=
|
29
|
-
<%=
|
28
|
+
<%= form.label :lcncarvlcopyfree, "Copyfree Approval" %>
|
29
|
+
<%= form.select( :lcncarvlcopyfree, [['No','No'],['Yes','Yes']], {}, {class: "form-control"}) %>
|
30
30
|
</div>
|
31
31
|
<div class="form-group field_with_error">
|
32
|
-
<%=
|
33
|
-
<%=
|
32
|
+
<%= form.label :lcncarvldebian, "Debian Approval" %>
|
33
|
+
<%= form.select( :lcncarvldebian, [['No','No'],['Yes','Yes']], {}, {class: "form-control"}) %>
|
34
34
|
</div>
|
35
35
|
<div class="form-group field_with_error">
|
36
|
-
<%=
|
37
|
-
<%=
|
36
|
+
<%= form.label :lcncarvlfedora, "Fedora Approval" %>
|
37
|
+
<%= form.select( :lcncarvlfedora, [['No','No'],['Yes','Yes']], {}, {class: "form-control"}) %>
|
38
38
|
</div>
|
39
39
|
<!-- Form Input Fields -->
|
40
40
|
|
41
41
|
<!-- Form Submition Button -->
|
42
42
|
<div class="actions">
|
43
|
-
<%=
|
43
|
+
<%= form.submit class: "btn btn-primary" %>
|
44
44
|
</div>
|
45
45
|
<!-- For Submition Button -->
|
46
46
|
|
@@ -5,53 +5,22 @@
|
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
6
|
<!-- Title System -->
|
7
7
|
|
8
|
-
<!-- Page
|
9
|
-
<div class="
|
10
|
-
<div class="
|
11
|
-
<
|
12
|
-
|
13
|
-
|
14
|
-
<
|
15
|
-
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
16
|
-
</ol>
|
17
|
-
<!-- Bread Crumb -->
|
18
|
-
</div>
|
19
|
-
<div class="col-sm-4">
|
20
|
-
<div class="title-action">
|
21
|
-
<%= link_to phcscriptcdnpro.script_licences_path, class: "btn btn-primary" do %>
|
22
|
-
<i class="fa fa-plus"></i> Back to Script Licence Index
|
23
|
-
<% end %>
|
8
|
+
<!-- Page Content -->
|
9
|
+
<div class="panel panel-inverse">
|
10
|
+
<div class="panel-heading">
|
11
|
+
<div class="panel-heading-btn">
|
12
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
|
13
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
|
14
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
|
24
15
|
</div>
|
16
|
+
<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
|
25
17
|
</div>
|
26
|
-
|
27
|
-
<!-- Page Header -->
|
28
|
-
|
29
|
-
<!-- Page Content -->
|
30
|
-
<div class="wrapper wrapper-content animated fadeInRight">
|
31
|
-
<div class="row">
|
32
|
-
<div class="col-lg-12">
|
18
|
+
<div class="panel-body">
|
33
19
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
<a class="collapse-link">
|
39
|
-
<i class="fa fa-chevron-up"></i>
|
40
|
-
</a>
|
41
|
-
<a class="close-link">
|
42
|
-
<i class="fa fa-times"></i>
|
43
|
-
</a>
|
44
|
-
</div>
|
45
|
-
</div>
|
46
|
-
<div class="ibox-content">
|
47
|
-
|
48
|
-
<!-- Form Requries URL to Function Properly -->
|
49
|
-
<%= render 'form', script_licence: @script_licence %>
|
50
|
-
|
51
|
-
</div>
|
52
|
-
</div>
|
53
|
-
|
54
|
-
</div>
|
20
|
+
<!-- -->
|
21
|
+
<%= render 'form', script_licence: @script_licence %>
|
22
|
+
<!-- -->
|
23
|
+
|
55
24
|
</div>
|
56
25
|
</div>
|
57
26
|
<!-- Page Content -->
|
@@ -4,76 +4,45 @@
|
|
4
4
|
<% phc_breadcrumb_one yield(:phc_title_tagline) %>
|
5
5
|
<!-- Title System -->
|
6
6
|
|
7
|
-
<!-- Page
|
8
|
-
<div class="
|
9
|
-
<div class="
|
10
|
-
<
|
11
|
-
|
12
|
-
|
13
|
-
<
|
14
|
-
</ol>
|
15
|
-
<!-- Bread Crumb -->
|
16
|
-
</div>
|
17
|
-
<div class="col-sm-4">
|
18
|
-
<div class="title-action">
|
19
|
-
<%= link_to phcscriptcdnpro.new_script_licence_path, class: "btn btn-primary" do %>
|
20
|
-
<i class="fa fa-plus"></i> Create a New Script Licence
|
21
|
-
<% end %>
|
7
|
+
<!-- Page Content -->
|
8
|
+
<div class="panel panel-inverse">
|
9
|
+
<div class="panel-heading">
|
10
|
+
<div class="panel-heading-btn">
|
11
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
|
12
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
|
13
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
|
22
14
|
</div>
|
15
|
+
<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
|
23
16
|
</div>
|
24
|
-
|
25
|
-
<!--
|
26
|
-
|
27
|
-
|
28
|
-
<
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
<
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
<
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
<th>OSI Approval</th>
|
54
|
-
<th>CopyFree Approval</th>
|
55
|
-
<th>Debian Approval</th>
|
56
|
-
<th>Fedora Approval</th>
|
57
|
-
</tr>
|
58
|
-
</thead>
|
59
|
-
<tbody>
|
60
|
-
<% @script_licences.each do |script_licence| %>
|
61
|
-
<tr>
|
62
|
-
<td><%= link_to script_licence.lcncname, script_licence %></td>
|
63
|
-
<td><%= link_to script_licence.lcnccomgpl, script_licence %></td>
|
64
|
-
<td><%= link_to script_licence.lcncarvlfsf, script_licence %></td>
|
65
|
-
<td><%= link_to script_licence.lcncarvlosi, script_licence %></td>
|
66
|
-
<td><%= link_to script_licence.lcncarvlcopyfree, script_licence %></td>
|
67
|
-
<td><%= link_to script_licence.lcncarvldebian, script_licence %></td>
|
68
|
-
<td><%= link_to script_licence.lcncarvlfedora, script_licence %></td>
|
69
|
-
</tr>
|
70
|
-
<% end %>
|
71
|
-
</tbody>
|
72
|
-
</table>
|
73
|
-
</div>
|
74
|
-
|
75
|
-
</div>
|
76
|
-
</div>
|
17
|
+
<div class="panel-body">
|
18
|
+
<!-- Table - Article Index -->
|
19
|
+
<div class="table-responsive">
|
20
|
+
<table class="table table-striped table-bordered">
|
21
|
+
<thead>
|
22
|
+
<tr>
|
23
|
+
<th>Licence Name</th>
|
24
|
+
<th>GPLv3 Compatible</th>
|
25
|
+
<th>FSF Approval</th>
|
26
|
+
<th>OSI Approval</th>
|
27
|
+
<th>CopyFree Approval</th>
|
28
|
+
<th>Debian Approval</th>
|
29
|
+
<th>Fedora Approval</th>
|
30
|
+
</tr>
|
31
|
+
</thead>
|
32
|
+
<tbody>
|
33
|
+
<% @script_licences.each do |script_licence| %>
|
34
|
+
<tr>
|
35
|
+
<td><%= link_to script_licence.lcncname, script_licence %></td>
|
36
|
+
<td><%= link_to script_licence.lcnccomgpl, script_licence %></td>
|
37
|
+
<td><%= link_to script_licence.lcncarvlfsf, script_licence %></td>
|
38
|
+
<td><%= link_to script_licence.lcncarvlosi, script_licence %></td>
|
39
|
+
<td><%= link_to script_licence.lcncarvlcopyfree, script_licence %></td>
|
40
|
+
<td><%= link_to script_licence.lcncarvldebian, script_licence %></td>
|
41
|
+
<td><%= link_to script_licence.lcncarvlfedora, script_licence %></td>
|
42
|
+
</tr>
|
43
|
+
<% end %>
|
44
|
+
</tbody>
|
45
|
+
</table>
|
77
46
|
|
78
47
|
</div>
|
79
48
|
</div>
|
@@ -5,53 +5,22 @@
|
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
6
|
<!-- Title System -->
|
7
7
|
|
8
|
-
<!-- Page
|
9
|
-
<div class="
|
10
|
-
<div class="
|
11
|
-
<
|
12
|
-
|
13
|
-
|
14
|
-
<
|
15
|
-
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
16
|
-
</ol>
|
17
|
-
<!-- Bread Crumb -->
|
18
|
-
</div>
|
19
|
-
<div class="col-sm-4">
|
20
|
-
<div class="title-action">
|
21
|
-
<%= link_to phcscriptcdnpro.script_licences_path, class: "btn btn-primary" do %>
|
22
|
-
<i class="fa fa-plus"></i> Back to Script Licence Index
|
23
|
-
<% end %>
|
8
|
+
<!-- Page Content -->
|
9
|
+
<div class="panel panel-inverse">
|
10
|
+
<div class="panel-heading">
|
11
|
+
<div class="panel-heading-btn">
|
12
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
|
13
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
|
14
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
|
24
15
|
</div>
|
16
|
+
<h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
|
25
17
|
</div>
|
26
|
-
|
27
|
-
<!-- Page Header -->
|
28
|
-
|
29
|
-
<!-- Page Content -->
|
30
|
-
<div class="wrapper wrapper-content animated fadeInRight">
|
31
|
-
<div class="row">
|
32
|
-
<div class="col-lg-12">
|
18
|
+
<div class="panel-body">
|
33
19
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
<a class="collapse-link">
|
39
|
-
<i class="fa fa-chevron-up"></i>
|
40
|
-
</a>
|
41
|
-
<a class="close-link">
|
42
|
-
<i class="fa fa-times"></i>
|
43
|
-
</a>
|
44
|
-
</div>
|
45
|
-
</div>
|
46
|
-
<div class="ibox-content">
|
47
|
-
|
48
|
-
<!-- Form Requries URL to Function Properly -->
|
49
|
-
<%= render 'form', script_licence: @script_licence %>
|
50
|
-
|
51
|
-
</div>
|
52
|
-
</div>
|
53
|
-
|
54
|
-
</div>
|
20
|
+
<!-- -->
|
21
|
+
<%= render 'form', script_licence: @script_licence %>
|
22
|
+
<!-- -->
|
23
|
+
|
55
24
|
</div>
|
56
25
|
</div>
|
57
26
|
<!-- Page Content -->
|
@@ -1,44 +1,44 @@
|
|
1
|
-
<%=
|
1
|
+
<%= form_with(model: script_listing, local: true) do |form| %>
|
2
2
|
|
3
3
|
<!-- PHCNotifi Render Validation -->
|
4
4
|
<%= render 'phcnotifi/validations', :object => @script_listing %>
|
5
5
|
|
6
6
|
<!-- Form Input Fields -->
|
7
7
|
<div class="form-group field_with_error">
|
8
|
-
<%=
|
9
|
-
<%=
|
8
|
+
<%= form.label :scripttitle, "Script Title" %>
|
9
|
+
<%= form.text_field :scripttitle, placeholder: "Script Title", class: "form-control" %>
|
10
10
|
</div>
|
11
11
|
<div class="form-group field_with_error">
|
12
|
-
<%=
|
13
|
-
<%=
|
12
|
+
<%= form.label :scriptdescription, "Script Description" %>
|
13
|
+
<%= form.text_area :scriptdescription, placeholder: "Script Description", class: "form-control" %>
|
14
14
|
</div>
|
15
15
|
<div class="form-group field_with_error">
|
16
|
-
<%=
|
17
|
-
<%=
|
16
|
+
<%= form.label :descriptionsource, "Script Source" %>
|
17
|
+
<%= form.text_field :descriptionsource, placeholder: "Script Source", class: "form-control" %>
|
18
18
|
</div>
|
19
19
|
<div class="form-group field_with_error">
|
20
|
-
<%=
|
21
|
-
<%=
|
20
|
+
<%= form.label :scriptwebsite, "Script Website" %>
|
21
|
+
<%= form.text_field :scriptwebsite, placeholder: "Script Website", class: "form-control" %>
|
22
22
|
</div>
|
23
23
|
<div class="form-group field_with_error">
|
24
|
-
<%=
|
25
|
-
<%=
|
24
|
+
<%= form.label :scripttwitter, "Script Twitter" %>
|
25
|
+
<%= form.text_field :scripttwitter, placeholder: "Script Twitter Address", class: "form-control" %>
|
26
26
|
</div>
|
27
27
|
<div class="form-group field_with_error">
|
28
|
-
<%=
|
29
|
-
<%=
|
28
|
+
<%= form.label :scriptgithub, "Script Github" %>
|
29
|
+
<%= form.text_field :scriptgithub, placeholder: "Script Github Address", class: "form-control" %>
|
30
30
|
</div>
|
31
31
|
<div class="form-group field_with_error">
|
32
|
-
<%=
|
33
|
-
<%=
|
32
|
+
<%= form.label :scriptinitialrelease, "Initial Release" %>
|
33
|
+
<%= form.date_select :scriptinitialrelease, start_year: 1981, class: "form-control" %>
|
34
34
|
</div>
|
35
35
|
<div class="form-group field_with_error">
|
36
|
-
<%=
|
37
|
-
<%=
|
36
|
+
<%= form.label :scriptlastestrelease, "Latest Release" %>
|
37
|
+
<%= form.date_select :scriptlastestrelease, start_year: 1981, class: "form-control" %>
|
38
38
|
</div>
|
39
39
|
<div class="form-group field_with_error">
|
40
|
-
<%=
|
41
|
-
<%=
|
40
|
+
<%= form.label :scriptbetarelease, "Preview Release" %>
|
41
|
+
<%= form.date_select :scriptbetarelease, start_year: 1981, class: "form-control" %>
|
42
42
|
</div>
|
43
43
|
<div class="form-group field_with_errors">
|
44
44
|
<label>Script Version</label>
|
@@ -53,14 +53,14 @@
|
|
53
53
|
<%= collection_select(:script_listing, :author_id, Phcscriptcdnpro::Script::Author.order('authorfirstname'), :id, :authorfirstname, {}, {class: "form-control"}) %>
|
54
54
|
</div>
|
55
55
|
<div class="form-group field_with_error">
|
56
|
-
<%=
|
57
|
-
<%=
|
56
|
+
<%= form.label :scriptstatus, "Script Status" %>
|
57
|
+
<%= form.select( :scriptstatus, [['Active','Active'],['Outdated','Out Dated'],['Deactivated','Not Active']], {}, {class: "form-control"}) %>
|
58
58
|
</div>
|
59
59
|
<!-- Form Input Fields -->
|
60
60
|
|
61
61
|
<!-- Form Submition Button -->
|
62
62
|
<div class="actions">
|
63
|
-
<%=
|
63
|
+
<%= form.submit class: "btn btn-primary" %>
|
64
64
|
</div>
|
65
65
|
<!-- For Submition Button -->
|
66
66
|
|