phcscriptcdn 7.0.0 → 7.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +20 -20
  3. data/README.md +43 -43
  4. data/Rakefile +33 -33
  5. data/app/assets/config/phcscriptcdn_manifest.js +2 -2
  6. data/app/assets/javascripts/phcscriptcdn/application.js +2 -2
  7. data/app/assets/stylesheets/phcscriptcdn/application.scss +2 -2
  8. data/app/controllers/phcscriptcdn/application_controller.rb +12 -12
  9. data/app/controllers/phcscriptcdn/script/authors_controller.rb +65 -65
  10. data/app/controllers/phcscriptcdn/script/extensions_controller.rb +65 -65
  11. data/app/controllers/phcscriptcdn/script/licences_controller.rb +65 -65
  12. data/app/controllers/phcscriptcdn/script/listings_controller.rb +65 -65
  13. data/app/controllers/phcscriptcdn/script/urls_controller.rb +74 -74
  14. data/app/controllers/phcscriptcdn/script/versions_controller.rb +65 -65
  15. data/app/helpers/phcscriptcdn/application_helper.rb +14 -14
  16. data/app/jobs/phcscriptcdn/application_job.rb +4 -4
  17. data/app/models/phcscriptcdn/application_record.rb +4 -4
  18. data/app/models/phcscriptcdn/script.rb +6 -6
  19. data/app/models/phcscriptcdn/script/author.rb +20 -20
  20. data/app/models/phcscriptcdn/script/extension.rb +24 -24
  21. data/app/models/phcscriptcdn/script/licence.rb +23 -23
  22. data/app/models/phcscriptcdn/script/listing.rb +32 -32
  23. data/app/models/phcscriptcdn/script/url.rb +26 -26
  24. data/app/models/phcscriptcdn/script/version.rb +20 -20
  25. data/app/views/layouts/phcscriptcdn/application.html.erb +56 -56
  26. data/app/views/layouts/phcscriptcdn/components/backend/footer/_footer.html.erb +4 -4
  27. data/app/views/layouts/phcscriptcdn/components/backend/navigation/_navigation.html.erb +56 -56
  28. data/app/views/layouts/phcscriptcdn/components/backend/topbar/_topbar.html.erb +5 -5
  29. data/app/views/layouts/phcscriptcdn/components/backend/topbar/_topbar_links.html.erb +0 -0
  30. data/app/views/layouts/phcscriptcdn/frontend.html.erb +22 -22
  31. data/app/views/phcscriptcdn/script/authors/_form.html.erb +36 -36
  32. data/app/views/phcscriptcdn/script/authors/edit.html.erb +39 -39
  33. data/app/views/phcscriptcdn/script/authors/index.html.erb +67 -67
  34. data/app/views/phcscriptcdn/script/authors/new.html.erb +39 -39
  35. data/app/views/phcscriptcdn/script/authors/show.html.erb +42 -42
  36. data/app/views/phcscriptcdn/script/extensions/_form.html.erb +28 -28
  37. data/app/views/phcscriptcdn/script/extensions/edit.html.erb +39 -39
  38. data/app/views/phcscriptcdn/script/extensions/index.html.erb +61 -61
  39. data/app/views/phcscriptcdn/script/extensions/new.html.erb +38 -38
  40. data/app/views/phcscriptcdn/script/extensions/show.html.erb +42 -42
  41. data/app/views/phcscriptcdn/script/licences/_form.html.erb +47 -47
  42. data/app/views/phcscriptcdn/script/licences/edit.html.erb +39 -39
  43. data/app/views/phcscriptcdn/script/licences/index.html.erb +71 -71
  44. data/app/views/phcscriptcdn/script/licences/new.html.erb +39 -39
  45. data/app/views/phcscriptcdn/script/licences/show.html.erb +42 -42
  46. data/app/views/phcscriptcdn/script/listings/_form.html.erb +68 -68
  47. data/app/views/phcscriptcdn/script/listings/edit.html.erb +39 -39
  48. data/app/views/phcscriptcdn/script/listings/index.html.erb +65 -65
  49. data/app/views/phcscriptcdn/script/listings/new.html.erb +39 -39
  50. data/app/views/phcscriptcdn/script/listings/show.html.erb +40 -40
  51. data/app/views/phcscriptcdn/script/urls/_form.html.erb +36 -36
  52. data/app/views/phcscriptcdn/script/urls/edit.html.erb +39 -39
  53. data/app/views/phcscriptcdn/script/urls/index.html.erb +63 -63
  54. data/app/views/phcscriptcdn/script/urls/new.html.erb +39 -39
  55. data/app/views/phcscriptcdn/script/urls/show.html.erb +41 -41
  56. data/app/views/phcscriptcdn/script/versions/_form.html.erb +20 -20
  57. data/app/views/phcscriptcdn/script/versions/edit.html.erb +39 -39
  58. data/app/views/phcscriptcdn/script/versions/index.html.erb +59 -59
  59. data/app/views/phcscriptcdn/script/versions/new.html.erb +39 -39
  60. data/app/views/phcscriptcdn/script/versions/show.html.erb +42 -42
  61. data/config/initializers/friendly_id.rb +92 -92
  62. data/config/routes.rb +30 -30
  63. data/db/migrate/20160731205205_create_phcscriptcdn_script_extensions.rb +20 -20
  64. data/db/migrate/20160731205917_create_phcscriptcdn_script_listings.rb +35 -35
  65. data/db/migrate/20160731205954_create_phcscriptcdn_script_versions.rb +18 -18
  66. data/db/migrate/20160731210626_create_phcscriptcdn_script_urls.rb +24 -24
  67. data/db/migrate/20160731210723_create_phcscriptcdn_script_authors.rb +23 -23
  68. data/db/migrate/20160801032225_create_phcscriptcdn_script_licences.rb +27 -27
  69. data/db/migrate/20170423022446_create_friendly_id_slugs.rb +15 -15
  70. data/lib/phcscriptcdn.rb +4 -4
  71. data/lib/phcscriptcdn/engine.rb +68 -68
  72. data/lib/phcscriptcdn/version.rb +3 -3
  73. data/lib/tasks/phcscriptcdn_tasks.rake +4 -4
  74. metadata +47 -5
@@ -1,39 +1,39 @@
1
- <!-- Title System -->
2
- <% phc_title "Script Listings Manager" %>
3
- <% phc_title_tagline "Add a New Author" %>
4
- <% phc_breadcrumb_one link_to "Author Index", phcscriptcdn.script_authors_path %>
5
- <% phc_breadcrumb_two yield(:phc_title_tagline) %>
6
- <!-- Title System -->
7
-
8
- <!-- Page Title Bar -->
9
- <section class="content-header">
10
- <!-- Page Title and BreadCrumb -->
11
- <h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
12
- <ol class="breadcrumb">
13
- <li><%= yield(:phc_breadcrumb_one) %></li>
14
- <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
15
- </ol>
16
- <!-- Page Title and BreadCrumb -->
17
- </section>
18
- <!-- Page Title Bar -->
19
-
20
- <!-- Main Content -->
21
- <section class="content">
22
- <div class="row">
23
- <div class="col-lg-12">
24
- <div class="box">
25
- <div class="box-header with-border">
26
- <h3 class="box-title"><%= yield(:phc_title) %></h3>
27
- </div>
28
- <div class="box-body">
29
-
30
- <!-- Page Form (New) -->
31
- <%= render 'form', script_author: @script_author %>
32
- <!-- Page Form (New) -->
33
-
34
- </div>
35
- </div>
36
- </div>
37
- </div>
38
- </section>
39
- <!-- Main Content -->
1
+ <!-- Title System -->
2
+ <% phc_title "Script Listings Manager" %>
3
+ <% phc_title_tagline "Add a New Author" %>
4
+ <% phc_breadcrumb_one link_to "Author Index", phcscriptcdn.script_authors_path %>
5
+ <% phc_breadcrumb_two yield(:phc_title_tagline) %>
6
+ <!-- Title System -->
7
+
8
+ <!-- Page Title Bar -->
9
+ <section class="content-header">
10
+ <!-- Page Title and BreadCrumb -->
11
+ <h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
12
+ <ol class="breadcrumb">
13
+ <li><%= yield(:phc_breadcrumb_one) %></li>
14
+ <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
15
+ </ol>
16
+ <!-- Page Title and BreadCrumb -->
17
+ </section>
18
+ <!-- Page Title Bar -->
19
+
20
+ <!-- Main Content -->
21
+ <section class="content">
22
+ <div class="row">
23
+ <div class="col-lg-12">
24
+ <div class="box">
25
+ <div class="box-header with-border">
26
+ <h3 class="box-title"><%= yield(:phc_title) %></h3>
27
+ </div>
28
+ <div class="box-body">
29
+
30
+ <!-- Page Form (New) -->
31
+ <%= render 'form', script_author: @script_author %>
32
+ <!-- Page Form (New) -->
33
+
34
+ </div>
35
+ </div>
36
+ </div>
37
+ </div>
38
+ </section>
39
+ <!-- Main Content -->
@@ -1,42 +1,42 @@
1
- <!-- Title System -->
2
- <% phc_title "Script Listings Manager" %>
3
- <% phc_title_tagline "Script Author Profile" %>
4
- <% phc_breadcrumb_one link_to "Author Index", phcscriptcdn.script_authors_path %>
5
- <% phc_breadcrumb_two yield(:phc_title_tagline) %>
6
- <!-- Title System -->
7
-
8
- <!-- Page Title Bar -->
9
- <section class="content-header">
10
- <!-- Page Title and BreadCrumb -->
11
- <h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
12
- <ol class="breadcrumb">
13
- <li><%= yield(:phc_breadcrumb_one) %></li>
14
- <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
15
- </ol>
16
- <!-- Page Title and BreadCrumb -->
17
- </section>
18
- <!-- Page Title Bar -->
19
-
20
- <!-- Main Content -->
21
- <section class="content">
22
- <div class="row">
23
- <div class="col-lg-12">
24
- <div class="box">
25
- <div class="box-header with-border">
26
- <h3 class="box-title"><%= yield(:phc_title) %></h3>
27
- </div>
28
- <div class="box-body">
29
-
30
- <!-- Show Content -->
31
- <div class="btn-group" role="group" aria-label="author_button_group">
32
- <%= link_to 'Edit', edit_script_author_path(@script_author), class: "btn btn-primary" %>
33
- <%= link_to 'Destroy', script_author_path(@script_author), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-primary" %>
34
- </div>
35
- <!-- Show Content -->
36
-
37
- </div>
38
- </div>
39
- </div>
40
- </div>
41
- </section>
42
- <!-- Main Content -->
1
+ <!-- Title System -->
2
+ <% phc_title "Script Listings Manager" %>
3
+ <% phc_title_tagline "Script Author Profile" %>
4
+ <% phc_breadcrumb_one link_to "Author Index", phcscriptcdn.script_authors_path %>
5
+ <% phc_breadcrumb_two yield(:phc_title_tagline) %>
6
+ <!-- Title System -->
7
+
8
+ <!-- Page Title Bar -->
9
+ <section class="content-header">
10
+ <!-- Page Title and BreadCrumb -->
11
+ <h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
12
+ <ol class="breadcrumb">
13
+ <li><%= yield(:phc_breadcrumb_one) %></li>
14
+ <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
15
+ </ol>
16
+ <!-- Page Title and BreadCrumb -->
17
+ </section>
18
+ <!-- Page Title Bar -->
19
+
20
+ <!-- Main Content -->
21
+ <section class="content">
22
+ <div class="row">
23
+ <div class="col-lg-12">
24
+ <div class="box">
25
+ <div class="box-header with-border">
26
+ <h3 class="box-title"><%= yield(:phc_title) %></h3>
27
+ </div>
28
+ <div class="box-body">
29
+
30
+ <!-- Show Content -->
31
+ <div class="btn-group" role="group" aria-label="author_button_group">
32
+ <%= link_to 'Edit', edit_script_author_path(@script_author), class: "btn btn-primary" %>
33
+ <%= link_to 'Destroy', script_author_path(@script_author), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-primary" %>
34
+ </div>
35
+ <!-- Show Content -->
36
+
37
+ </div>
38
+ </div>
39
+ </div>
40
+ </div>
41
+ </section>
42
+ <!-- Main Content -->
@@ -1,28 +1,28 @@
1
- <%= form_for(script_extension) do |f| %>
2
-
3
- <!-- PHC-Notifi Render Validation -->
4
- <%= render 'phcnotifi/validations', :object => @script_extension %>
5
- <!-- PHC-Notifi Render Validation -->
6
-
7
- <!-- Form Fields -->
8
- <div class="form-group field_with_error">
9
- <%= f.label :scriptextensionname, "Extension Name" %>
10
- <%= f.text_field :scriptextensionname, placeholder: "Extension Name", class: "form-control" %>
11
- </div>
12
- <div class="form-group field_with_error">
13
- <%= f.label :scriptextensiondes, "Extension Description" %>
14
- <%= f.text_area :scriptextensiondes, placeholder: "Extension Description", class: "form-control" %>
15
- </div>
16
- <div class="form-group field_with_error">
17
- <%= f.label :scriptextension, "Script Extension" %>
18
- <%= f.text_field :scriptextension, placeholder: "Script Extension (.js/.css)", class: "form-control" %>
19
- </div>
20
- <!-- Form Fields -->
21
-
22
- <!-- Form Button -->
23
- <div class="actions">
24
- <%= f.submit class: "btn btn-primary" %>
25
- </div>
26
- <!-- Form Button -->
27
-
28
- <% end %>
1
+ <%= form_for(script_extension) do |f| %>
2
+
3
+ <!-- PHC-Notifi Render Validation -->
4
+ <%= render 'phcnotifi/validations', :object => @script_extension %>
5
+ <!-- PHC-Notifi Render Validation -->
6
+
7
+ <!-- Form Fields -->
8
+ <div class="form-group field_with_error">
9
+ <%= f.label :scriptextensionname, "Extension Name" %>
10
+ <%= f.text_field :scriptextensionname, placeholder: "Extension Name", class: "form-control" %>
11
+ </div>
12
+ <div class="form-group field_with_error">
13
+ <%= f.label :scriptextensiondes, "Extension Description" %>
14
+ <%= f.text_area :scriptextensiondes, placeholder: "Extension Description", class: "form-control" %>
15
+ </div>
16
+ <div class="form-group field_with_error">
17
+ <%= f.label :scriptextension, "Script Extension" %>
18
+ <%= f.text_field :scriptextension, placeholder: "Script Extension (.js/.css)", class: "form-control" %>
19
+ </div>
20
+ <!-- Form Fields -->
21
+
22
+ <!-- Form Button -->
23
+ <div class="actions">
24
+ <%= f.submit class: "btn btn-primary" %>
25
+ </div>
26
+ <!-- Form Button -->
27
+
28
+ <% end %>
@@ -1,39 +1,39 @@
1
- <!-- Title System -->
2
- <% phc_title "Script Listings Manager" %>
3
- <% phc_title_tagline "Update Script Extension" %>
4
- <% phc_breadcrumb_one link_to "Script Extension Index", phcscriptcdn.script_extensions_path %>
5
- <% phc_breadcrumb_two yield(:phc_title_tagline) %>
6
- <!-- Title System -->
7
-
8
- <!-- Page Title Bar -->
9
- <section class="content-header">
10
- <!-- Page Title and BreadCrumb -->
11
- <h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
12
- <ol class="breadcrumb">
13
- <li><%= yield(:phc_breadcrumb_one) %></li>
14
- <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
15
- </ol>
16
- <!-- Page Title and BreadCrumb -->
17
- </section>
18
- <!-- Page Title Bar -->
19
-
20
- <!-- Main Content -->
21
- <section class="content">
22
- <div class="row">
23
- <div class="col-lg-12">
24
- <div class="box">
25
- <div class="box-header with-border">
26
- <h3 class="box-title"><%= yield(:phc_title) %></h3>
27
- </div>
28
- <div class="box-body">
29
-
30
- <!-- Page Form (Edit) -->
31
- <%= render 'form', script_extension: @script_extension %>
32
- <!-- Page Form (Edit) -->
33
-
34
- </div>
35
- </div>
36
- </div>
37
- </div>
38
- </section>
39
- <!-- Main Content -->
1
+ <!-- Title System -->
2
+ <% phc_title "Script Listings Manager" %>
3
+ <% phc_title_tagline "Update Script Extension" %>
4
+ <% phc_breadcrumb_one link_to "Script Extension Index", phcscriptcdn.script_extensions_path %>
5
+ <% phc_breadcrumb_two yield(:phc_title_tagline) %>
6
+ <!-- Title System -->
7
+
8
+ <!-- Page Title Bar -->
9
+ <section class="content-header">
10
+ <!-- Page Title and BreadCrumb -->
11
+ <h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
12
+ <ol class="breadcrumb">
13
+ <li><%= yield(:phc_breadcrumb_one) %></li>
14
+ <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
15
+ </ol>
16
+ <!-- Page Title and BreadCrumb -->
17
+ </section>
18
+ <!-- Page Title Bar -->
19
+
20
+ <!-- Main Content -->
21
+ <section class="content">
22
+ <div class="row">
23
+ <div class="col-lg-12">
24
+ <div class="box">
25
+ <div class="box-header with-border">
26
+ <h3 class="box-title"><%= yield(:phc_title) %></h3>
27
+ </div>
28
+ <div class="box-body">
29
+
30
+ <!-- Page Form (Edit) -->
31
+ <%= render 'form', script_extension: @script_extension %>
32
+ <!-- Page Form (Edit) -->
33
+
34
+ </div>
35
+ </div>
36
+ </div>
37
+ </div>
38
+ </section>
39
+ <!-- Main Content -->
@@ -1,61 +1,61 @@
1
- <!-- Title System -->
2
- <% phc_title "Script Listings Manager" %>
3
- <% phc_title_tagline "Script Extension Index" %>
4
- <% phc_breadcrumb_one yield(:phc_title_tagline) %>
5
- <!-- Title System -->
6
-
7
- <!-- Page Title Bar -->
8
- <section class="content-header">
9
- <!-- Page Title and BreadCrumb -->
10
- <h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
11
- <ol class="breadcrumb">
12
- <li><%= yield(:phc_breadcrumb_one) %></li>
13
- <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
14
- </ol>
15
- <!-- Page Title and BreadCrumb -->
16
- </section>
17
- <!-- Page Title Bar -->
18
-
19
- <!-- Main Content -->
20
- <section class="content">
21
- <div class="row">
22
- <div class="col-lg-12">
23
- <div class="box">
24
- <div class="box-header with-border">
25
- <h3 class="box-title"><%= yield(:phc_title) %></h3>
26
- </div>
27
- <div class="box-body">
28
-
29
- <!-- Index Table -->
30
- <div class="table-responsive">
31
- <table class="table table-bordered table-striped table-hover">
32
- <thead>
33
- <tr>
34
- <th>Script Extension Name</th>
35
- <th>Script Extension</th>
36
- </tr>
37
- </thead>
38
- <tbody>
39
- <% @script_extensions.each do |script_extension| %>
40
- <tr>
41
- <td><%= link_to script_extension.scriptextensionname, script_extension %></td>
42
- <td><%= link_to script_extension.scriptextension, script_extension %></td>
43
- </tr>
44
- <% end %>
45
- </tbody>
46
- </table>
47
- </div>
48
- <!-- Index Table -->
49
-
50
- <!-- Panel Footer -->
51
- <div class="box-footer clearfix">
52
- <%= link_to 'New Script Extension', new_script_extension_path, class: "btn btn-primary" %>
53
- </div>
54
- <!-- Panel Footer -->
55
-
56
- </div>
57
- </div>
58
- </div>
59
- </div>
60
- </section>
61
- <!-- Main Content -->
1
+ <!-- Title System -->
2
+ <% phc_title "Script Listings Manager" %>
3
+ <% phc_title_tagline "Script Extension Index" %>
4
+ <% phc_breadcrumb_one yield(:phc_title_tagline) %>
5
+ <!-- Title System -->
6
+
7
+ <!-- Page Title Bar -->
8
+ <section class="content-header">
9
+ <!-- Page Title and BreadCrumb -->
10
+ <h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
11
+ <ol class="breadcrumb">
12
+ <li><%= yield(:phc_breadcrumb_one) %></li>
13
+ <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
14
+ </ol>
15
+ <!-- Page Title and BreadCrumb -->
16
+ </section>
17
+ <!-- Page Title Bar -->
18
+
19
+ <!-- Main Content -->
20
+ <section class="content">
21
+ <div class="row">
22
+ <div class="col-lg-12">
23
+ <div class="box">
24
+ <div class="box-header with-border">
25
+ <h3 class="box-title"><%= yield(:phc_title) %></h3>
26
+ </div>
27
+ <div class="box-body">
28
+
29
+ <!-- Index Table -->
30
+ <div class="table-responsive">
31
+ <table class="table table-bordered table-striped table-hover">
32
+ <thead>
33
+ <tr>
34
+ <th>Script Extension Name</th>
35
+ <th>Script Extension</th>
36
+ </tr>
37
+ </thead>
38
+ <tbody>
39
+ <% @script_extensions.each do |script_extension| %>
40
+ <tr>
41
+ <td><%= link_to script_extension.scriptextensionname, script_extension %></td>
42
+ <td><%= link_to script_extension.scriptextension, script_extension %></td>
43
+ </tr>
44
+ <% end %>
45
+ </tbody>
46
+ </table>
47
+ </div>
48
+ <!-- Index Table -->
49
+
50
+ <!-- Panel Footer -->
51
+ <div class="box-footer clearfix">
52
+ <%= link_to 'New Script Extension', new_script_extension_path, class: "btn btn-primary" %>
53
+ </div>
54
+ <!-- Panel Footer -->
55
+
56
+ </div>
57
+ </div>
58
+ </div>
59
+ </div>
60
+ </section>
61
+ <!-- Main Content -->
@@ -1,38 +1,38 @@
1
- <!-- Title System -->
2
- <% phc_title "Script Listings Manager" %>
3
- <% phc_title_tagline "Add a Script Extension" %>
4
- <% phc_breadcrumb_one link_to "Script Extension Index", phcscriptcdn.script_extensions_path %>
5
- <% phc_breadcrumb_two yield(:phc_title_tagline) %>
6
- <!-- Title System -->
7
-
8
- <!-- Page Title Bar -->
9
- <section class="content-header">
10
- <!-- Page Title and BreadCrumb -->
11
- <h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
12
- <ol class="breadcrumb">
13
- <li><%= yield(:phc_breadcrumb_one) %></li>
14
- <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
15
- </ol>
16
- <!-- Page Title and BreadCrumb -->
17
- </section>
18
- <!-- Page Title Bar -->
19
-
20
- <!-- Main Content -->
21
- <section class="content">
22
- <div class="row">
23
- <div class="col-lg-12">
24
- <div class="box">
25
- <div class="box-header with-border">
26
- <h3 class="box-title"><%= yield(:phc_title) %></h3>
27
- </div>
28
- <div class="box-body">
29
-
30
- <!-- Form Requries URL to Function Properly -->
31
- <%= render 'form', script_extension: @script_extension %>
32
-
33
- </div>
34
- </div>
35
- </div>
36
- </div>
37
- </section>
38
- <!-- Main Content -->
1
+ <!-- Title System -->
2
+ <% phc_title "Script Listings Manager" %>
3
+ <% phc_title_tagline "Add a Script Extension" %>
4
+ <% phc_breadcrumb_one link_to "Script Extension Index", phcscriptcdn.script_extensions_path %>
5
+ <% phc_breadcrumb_two yield(:phc_title_tagline) %>
6
+ <!-- Title System -->
7
+
8
+ <!-- Page Title Bar -->
9
+ <section class="content-header">
10
+ <!-- Page Title and BreadCrumb -->
11
+ <h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
12
+ <ol class="breadcrumb">
13
+ <li><%= yield(:phc_breadcrumb_one) %></li>
14
+ <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
15
+ </ol>
16
+ <!-- Page Title and BreadCrumb -->
17
+ </section>
18
+ <!-- Page Title Bar -->
19
+
20
+ <!-- Main Content -->
21
+ <section class="content">
22
+ <div class="row">
23
+ <div class="col-lg-12">
24
+ <div class="box">
25
+ <div class="box-header with-border">
26
+ <h3 class="box-title"><%= yield(:phc_title) %></h3>
27
+ </div>
28
+ <div class="box-body">
29
+
30
+ <!-- Form Requries URL to Function Properly -->
31
+ <%= render 'form', script_extension: @script_extension %>
32
+
33
+ </div>
34
+ </div>
35
+ </div>
36
+ </div>
37
+ </section>
38
+ <!-- Main Content -->