phcdevworks_tutorials 12.1.1 → 12.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +20 -20
  3. data/README.md +1 -0
  4. data/Rakefile +8 -8
  5. data/app/assets/config/phcdevworks_tutorials_manifest.js +3 -3
  6. data/app/assets/stylesheets/phcdevworks_tutorials/application.scss +0 -0
  7. data/app/assets/stylesheets/phcdevworks_tutorials/blog/commands.scss +3 -3
  8. data/app/assets/stylesheets/phcdevworks_tutorials/blog/tutorials.scss +3 -3
  9. data/app/assets/stylesheets/phcdevworks_tutorials/command/items.scss +3 -3
  10. data/app/assets/stylesheets/phcdevworks_tutorials/command/posts.scss +3 -3
  11. data/app/assets/stylesheets/phcdevworks_tutorials/tutorial/posts.css +4 -4
  12. data/app/assets/stylesheets/phcdevworks_tutorials/tutorial/steps.css +4 -4
  13. data/app/controllers/phcdevworks_tutorials/application_controller.rb +13 -13
  14. data/app/controllers/phcdevworks_tutorials/blog/commands_controller.rb +21 -21
  15. data/app/controllers/phcdevworks_tutorials/blog/tutorials_controller.rb +21 -21
  16. data/app/controllers/phcdevworks_tutorials/command/items_controller.rb +95 -95
  17. data/app/controllers/phcdevworks_tutorials/command/posts_controller.rb +81 -81
  18. data/app/controllers/phcdevworks_tutorials/tutorial/posts_controller.rb +81 -81
  19. data/app/controllers/phcdevworks_tutorials/tutorial/steps_controller.rb +89 -89
  20. data/app/helpers/phcdevworks_tutorials/application_helper.rb +4 -4
  21. data/app/helpers/phcdevworks_tutorials/blog/commands_helper.rb +4 -4
  22. data/app/helpers/phcdevworks_tutorials/blog/tutorials_helper.rb +4 -4
  23. data/app/helpers/phcdevworks_tutorials/command/items_helper.rb +4 -4
  24. data/app/helpers/phcdevworks_tutorials/command/posts_helper.rb +4 -4
  25. data/app/helpers/phcdevworks_tutorials/tutorial/posts_helper.rb +4 -4
  26. data/app/helpers/phcdevworks_tutorials/tutorial/steps_helper.rb +4 -4
  27. data/app/jobs/phcdevworks_tutorials/application_job.rb +4 -4
  28. data/app/mailers/phcdevworks_tutorials/application_mailer.rb +6 -6
  29. data/app/models/phcdevworks_tutorials/application_record.rb +5 -5
  30. data/app/models/phcdevworks_tutorials/command/item.rb +17 -17
  31. data/app/models/phcdevworks_tutorials/command/post.rb +34 -34
  32. data/app/models/phcdevworks_tutorials/command.rb +7 -7
  33. data/app/models/phcdevworks_tutorials/command_item_versions.rb +5 -5
  34. data/app/models/phcdevworks_tutorials/command_post_versions.rb +5 -5
  35. data/app/models/phcdevworks_tutorials/tutorial/post.rb +34 -34
  36. data/app/models/phcdevworks_tutorials/tutorial/step.rb +17 -17
  37. data/app/models/phcdevworks_tutorials/tutorial.rb +7 -7
  38. data/app/models/phcdevworks_tutorials/tutorial_post_versions.rb +5 -5
  39. data/app/models/phcdevworks_tutorials/tutorial_step_versions.rb +5 -5
  40. data/app/views/layouts/phcdevworks_tutorials/application.html.erb +131 -131
  41. data/app/views/layouts/phcdevworks_tutorials/components/backend/footer/_footer.html.erb +0 -0
  42. data/app/views/layouts/phcdevworks_tutorials/components/backend/navigation/_top_menu.html.erb +0 -0
  43. data/app/views/layouts/phcdevworks_tutorials/components/backend/sidebars/_side_menu.html.erb +0 -0
  44. data/app/views/layouts/phcdevworks_tutorials/frontend.html.erb +0 -0
  45. data/app/views/phcdevworks_tutorials/blog/commands/index.html.erb +0 -0
  46. data/app/views/phcdevworks_tutorials/blog/commands/show.html.erb +0 -0
  47. data/app/views/phcdevworks_tutorials/blog/tutorials/index.html.erb +0 -0
  48. data/app/views/phcdevworks_tutorials/blog/tutorials/show.html.erb +0 -0
  49. data/app/views/phcdevworks_tutorials/command/items/_form.html.erb +42 -42
  50. data/app/views/phcdevworks_tutorials/command/items/edit.html.erb +47 -47
  51. data/app/views/phcdevworks_tutorials/command/items/index.html.erb +82 -82
  52. data/app/views/phcdevworks_tutorials/command/items/new.html.erb +47 -47
  53. data/app/views/phcdevworks_tutorials/command/items/show.html.erb +19 -19
  54. data/app/views/phcdevworks_tutorials/command/posts/_form.html.erb +56 -56
  55. data/app/views/phcdevworks_tutorials/command/posts/edit.html.erb +47 -47
  56. data/app/views/phcdevworks_tutorials/command/posts/index.html.erb +81 -81
  57. data/app/views/phcdevworks_tutorials/command/posts/new.html.erb +49 -49
  58. data/app/views/phcdevworks_tutorials/command/posts/show.html.erb +74 -74
  59. data/app/views/phcdevworks_tutorials/tutorial/posts/_form.html.erb +56 -56
  60. data/app/views/phcdevworks_tutorials/tutorial/posts/edit.html.erb +47 -47
  61. data/app/views/phcdevworks_tutorials/tutorial/posts/index.html.erb +85 -85
  62. data/app/views/phcdevworks_tutorials/tutorial/posts/new.html.erb +47 -47
  63. data/app/views/phcdevworks_tutorials/tutorial/posts/show.html.erb +76 -76
  64. data/app/views/phcdevworks_tutorials/tutorial/steps/_form.html.erb +48 -48
  65. data/app/views/phcdevworks_tutorials/tutorial/steps/edit.html.erb +47 -47
  66. data/app/views/phcdevworks_tutorials/tutorial/steps/index.html.erb +82 -82
  67. data/app/views/phcdevworks_tutorials/tutorial/steps/new.html.erb +47 -47
  68. data/config/routes.rb +35 -35
  69. data/config/spring.rb +1 -1
  70. data/db/migrate/20191017235259_create_phcdevworks_tutorials_tutorial_posts.rb +19 -19
  71. data/db/migrate/20191017235421_create_phcdevworks_tutorials_tutorial_steps.rb +22 -22
  72. data/db/migrate/20191024232406_create_phcdevworks_tutorials_tutorial_categories_posts.rb +10 -10
  73. data/db/migrate/20191102093129_create_phcdevworks_tutorials_tutorial_post_versions.rb +17 -17
  74. data/db/migrate/20191102093146_create_phcdevworks_tutorials_tutorial_step_versions.rb +18 -18
  75. data/db/migrate/20200320110115_create_phcdevworks_tutorials_command_posts.rb +19 -19
  76. data/db/migrate/20200320110553_create_phcdevworks_tutorials_command_items.rb +19 -19
  77. data/db/migrate/20200321122525_create_phcdevworks_tutorials_command_item_versions.rb +18 -18
  78. data/db/migrate/20200321122606_create_phcdevworks_tutorials_command_post_versions.rb +18 -18
  79. data/db/migrate/20200328012248_create_phcdevworks_tutorials_command_categories_posts.rb +10 -10
  80. data/lib/phcdevworks_tutorials/engine.rb +47 -47
  81. data/lib/phcdevworks_tutorials/version.rb +3 -3
  82. data/lib/phcdevworks_tutorials.rb +6 -6
  83. data/lib/tasks/phcdevworks_tutorials_tasks.rake +4 -4
  84. metadata +33 -33
@@ -1,17 +1,17 @@
1
- module PhcdevworksTutorials
2
- class Tutorial::Step < ApplicationRecord
3
-
4
- # Paper Trail Initialize
5
- has_paper_trail :class_name => 'PhcdevworksTutorials::TutorialStepVersions'
6
-
7
- # Image Upload
8
- has_one_attached :tutorial_step_image
9
-
10
- # Relationships
11
- belongs_to :user, class_name: "PhcdevworksAccounts::User"
12
- belongs_to :post, class_name: "Tutorial::Post"
13
- belongs_to :optimization, class_name: "PhcdevworksCoreModules::Marketing::Optimization", optional: true
14
- has_many :categories, class_name: "Tutorial::Category", :through => :post
15
-
16
- end
17
- end
1
+ module PhcdevworksTutorials
2
+ class Tutorial::Step < ApplicationRecord
3
+
4
+ # Paper Trail Initialize
5
+ has_paper_trail :class_name => 'PhcdevworksTutorials::TutorialStepVersions'
6
+
7
+ # Image Upload
8
+ has_one_attached :tutorial_step_image
9
+
10
+ # Relationships
11
+ belongs_to :user, class_name: "PhcdevworksAccounts::User"
12
+ belongs_to :post, class_name: "Tutorial::Post"
13
+ belongs_to :optimization, class_name: "PhcdevworksCoreModules::Marketing::Optimization", optional: true
14
+ has_many :categories, class_name: "Tutorial::Category", :through => :post
15
+
16
+ end
17
+ end
@@ -1,7 +1,7 @@
1
- module PhcdevworksTutorials
2
- module Tutorial
3
- def self.table_name_prefix
4
- 'phcdevworks_tutorials_tutorial_'
5
- end
6
- end
7
- end
1
+ module PhcdevworksTutorials
2
+ module Tutorial
3
+ def self.table_name_prefix
4
+ 'phcdevworks_tutorials_tutorial_'
5
+ end
6
+ end
7
+ end
@@ -1,5 +1,5 @@
1
- module PhcdevworksTutorials
2
- class TutorialPostVersions < PaperTrail::Version
3
- self.table_name = :phcdevworks_tutorials_tutorial_post_versions
4
- end
5
- end
1
+ module PhcdevworksTutorials
2
+ class TutorialPostVersions < PaperTrail::Version
3
+ self.table_name = :phcdevworks_tutorials_tutorial_post_versions
4
+ end
5
+ end
@@ -1,5 +1,5 @@
1
- module PhcdevworksTutorials
2
- class TutorialStepVersions < PaperTrail::Version
3
- self.table_name = :phcdevworks_tutorials_tutorial_step_versions
4
- end
5
- end
1
+ module PhcdevworksTutorials
2
+ class TutorialStepVersions < PaperTrail::Version
3
+ self.table_name = :phcdevworks_tutorials_tutorial_step_versions
4
+ end
5
+ end
@@ -1,131 +1,131 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
-
5
- <!-- SEO System -->
6
- <% phc_seo_title "PHCDevworks Tutorials" %>
7
- <% phc_seo_description " Ruby on Rails 6 engine, PHCDevworks Tutorials offers built in copy to clipboard function, easily build step-by-step guides and a separate module to list common computer/development commands." %>
8
- <!-- SEO System -->
9
-
10
- <!-- SEO and Site Description -->
11
- <meta charset="utf-8">
12
- <title><%= yield(:phc_seo_title) %></title>
13
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
14
- <meta name="description" content="<%= yield(:phc_seo_description) %>">
15
- <!-- SEO and Site Description -->
16
-
17
- <!-- Rails Security Tags -->
18
- <%= csrf_meta_tags %>
19
- <%= csp_meta_tag %>
20
- <!-- Rails Security Tags -->
21
-
22
- <!-- CSS Styles -->
23
- <%= stylesheet_link_tag "phcthemes_admin_panel_pack_coloradmin", media: "all" %>
24
- <!-- CSS Styles -->
25
-
26
- <!-- JavaScript -->
27
- <%= javascript_include_tag "phcthemes_admin_panel_pack_coloradmin" %>
28
- <!-- JavaScript -->
29
-
30
- </head>
31
- <body>
32
-
33
- <!-- Page Container -->
34
- <div id="page-container" class="fade page-sidebar-fixed page-header-fixed">
35
-
36
- <!-- Page Header -->
37
- <div id="header" class="header navbar-default">
38
- <%= render "layouts/phcdevworks_tutorials/components/backend/navigation/top_menu" %>
39
- </div>
40
- <!-- Page Header -->
41
-
42
- <!-- Page Sidebar -->
43
- <div id="sidebar" class="sidebar">
44
- <%= render "layouts/phcdevworks_tutorials/components/backend/sidebars/side_menu" %>
45
- </div>
46
- <div class="sidebar-bg"></div>
47
- <!-- Page Sidebar -->
48
-
49
- <!-- Page Content -->
50
- <div id="content" class="content">
51
- <%= render "phcdevworks_notifications/bootstrap/notifications" %>
52
- <%= yield %>
53
- </div>
54
- <!-- Page Content -->
55
-
56
- <!-- Footer Content -->
57
- <div id="footer" class="footer mb-4">
58
- <%= render "layouts/phcdevworks_tutorials/components/backend/footer/footer" %>
59
- </div>
60
- <!-- Footer Content -->
61
-
62
- </div>
63
- <!-- Page Container -->
64
-
65
- <!-- JavaScript CKEditor -->
66
- <script>ClassicEditor
67
- .create( document.querySelector( '.editor' ), {
68
- toolbar: {
69
- items: [
70
- 'heading',
71
- '|',
72
- 'fontBackgroundColor',
73
- 'fontColor',
74
- 'horizontalLine',
75
- 'fontSize',
76
- 'fontFamily',
77
- 'highlight',
78
- '|',
79
- 'bold',
80
- 'underline',
81
- 'italic',
82
- 'strikethrough',
83
- 'link',
84
- 'removeFormat',
85
- '|',
86
- 'alignment',
87
- 'indent',
88
- 'outdent',
89
- '|',
90
- 'blockQuote',
91
- 'insertTable',
92
- 'undo',
93
- 'redo',
94
- '|',
95
- 'subscript',
96
- 'superscript',
97
- '|',
98
- 'codeBlock',
99
- 'code',
100
- '|',
101
- 'MathType',
102
- 'ChemType',
103
- 'specialCharacters'
104
- ]
105
- },
106
- language: 'en',
107
- table: {
108
- contentToolbar: [
109
- 'tableColumn',
110
- 'tableRow',
111
- 'mergeTableCells',
112
- 'tableCellProperties',
113
- 'tableProperties'
114
- ]
115
- },
116
- licenseKey: '',
117
- } )
118
- .then( editor => {
119
- window.editor = editor;
120
- } )
121
- .catch( error => {
122
- console.error( 'Oops, something gone wrong!' );
123
- console.error( 'Please, report the following error in the https://github.com/ckeditor/ckeditor5 with the build id and the error stack trace:' );
124
- console.warn( 'Build id: ulhl6ym1zxhr-qh8kt6relt0l' );
125
- console.error( error );
126
- } );
127
- </script>
128
- <!-- JavaScript CKEditor -->
129
-
130
- </body>
131
- </html>
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+
5
+ <!-- SEO System -->
6
+ <% phc_seo_title "PHCDevworks Tutorials" %>
7
+ <% phc_seo_description " Ruby on Rails 6 engine, PHCDevworks Tutorials offers built in copy to clipboard function, easily build step-by-step guides and a separate module to list common computer/development commands." %>
8
+ <!-- SEO System -->
9
+
10
+ <!-- SEO and Site Description -->
11
+ <meta charset="utf-8">
12
+ <title><%= yield(:phc_seo_title) %></title>
13
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
14
+ <meta name="description" content="<%= yield(:phc_seo_description) %>">
15
+ <!-- SEO and Site Description -->
16
+
17
+ <!-- Rails Security Tags -->
18
+ <%= csrf_meta_tags %>
19
+ <%= csp_meta_tag %>
20
+ <!-- Rails Security Tags -->
21
+
22
+ <!-- CSS Styles -->
23
+ <%= stylesheet_link_tag "phcthemes_admin_panel_pack_coloradmin", media: "all" %>
24
+ <!-- CSS Styles -->
25
+
26
+ <!-- JavaScript -->
27
+ <%= javascript_include_tag "phcthemes_admin_panel_pack_coloradmin" %>
28
+ <!-- JavaScript -->
29
+
30
+ </head>
31
+ <body>
32
+
33
+ <!-- Page Container -->
34
+ <div id="page-container" class="fade page-sidebar-fixed page-header-fixed">
35
+
36
+ <!-- Page Header -->
37
+ <div id="header" class="header navbar-default">
38
+ <%= render "layouts/phcdevworks_tutorials/components/backend/navigation/top_menu" %>
39
+ </div>
40
+ <!-- Page Header -->
41
+
42
+ <!-- Page Sidebar -->
43
+ <div id="sidebar" class="sidebar">
44
+ <%= render "layouts/phcdevworks_tutorials/components/backend/sidebars/side_menu" %>
45
+ </div>
46
+ <div class="sidebar-bg"></div>
47
+ <!-- Page Sidebar -->
48
+
49
+ <!-- Page Content -->
50
+ <div id="content" class="content">
51
+ <%= render "phcdevworks_notifications/bootstrap/notifications" %>
52
+ <%= yield %>
53
+ </div>
54
+ <!-- Page Content -->
55
+
56
+ <!-- Footer Content -->
57
+ <div id="footer" class="footer mb-4">
58
+ <%= render "layouts/phcdevworks_tutorials/components/backend/footer/footer" %>
59
+ </div>
60
+ <!-- Footer Content -->
61
+
62
+ </div>
63
+ <!-- Page Container -->
64
+
65
+ <!-- JavaScript CKEditor -->
66
+ <script>ClassicEditor
67
+ .create( document.querySelector( '.editor' ), {
68
+ toolbar: {
69
+ items: [
70
+ 'heading',
71
+ '|',
72
+ 'fontBackgroundColor',
73
+ 'fontColor',
74
+ 'horizontalLine',
75
+ 'fontSize',
76
+ 'fontFamily',
77
+ 'highlight',
78
+ '|',
79
+ 'bold',
80
+ 'underline',
81
+ 'italic',
82
+ 'strikethrough',
83
+ 'link',
84
+ 'removeFormat',
85
+ '|',
86
+ 'alignment',
87
+ 'indent',
88
+ 'outdent',
89
+ '|',
90
+ 'blockQuote',
91
+ 'insertTable',
92
+ 'undo',
93
+ 'redo',
94
+ '|',
95
+ 'subscript',
96
+ 'superscript',
97
+ '|',
98
+ 'codeBlock',
99
+ 'code',
100
+ '|',
101
+ 'MathType',
102
+ 'ChemType',
103
+ 'specialCharacters'
104
+ ]
105
+ },
106
+ language: 'en',
107
+ table: {
108
+ contentToolbar: [
109
+ 'tableColumn',
110
+ 'tableRow',
111
+ 'mergeTableCells',
112
+ 'tableCellProperties',
113
+ 'tableProperties'
114
+ ]
115
+ },
116
+ licenseKey: '',
117
+ } )
118
+ .then( editor => {
119
+ window.editor = editor;
120
+ } )
121
+ .catch( error => {
122
+ console.error( 'Oops, something gone wrong!' );
123
+ console.error( 'Please, report the following error in the https://github.com/ckeditor/ckeditor5 with the build id and the error stack trace:' );
124
+ console.warn( 'Build id: ulhl6ym1zxhr-qh8kt6relt0l' );
125
+ console.error( error );
126
+ } );
127
+ </script>
128
+ <!-- JavaScript CKEditor -->
129
+
130
+ </body>
131
+ </html>
@@ -1,42 +1,42 @@
1
- <!-- Form - Command - Item -->
2
- <%= form_with(model: [@command_post, @command_item], url: form_url, local: true) do |form| %>
3
-
4
- <!-- PHCNotifi Render Validation -->
5
- <%= render "phcdevworks_notifications/bootstrap/validations", :object => @command_item %>
6
- <!-- PHCNotifi Render Validation -->
7
-
8
- <!-- Form Input Fields -->
9
- <div class="form-group">
10
- <%= form.label :command_item_title, "Command Name" %>
11
- <%= form.text_field :command_item_title, class: "form-control" %>
12
- </div>
13
-
14
- <div class="form-group">
15
- <%= form.label :command_item_text, "Command Description" %>
16
- <%= form.text_area :command_item_text, class: "form-control" %>
17
- </div>
18
-
19
- <div class="form-group">
20
- <%= form.label :command_item_copy_command, "Copy Command" %>
21
- <%= form.text_field :command_item_copy_command, class: "form-control" %>
22
- </div>
23
-
24
- <div class="form-group field_with_errors">
25
- <%= form.label :command_item_image, "Featured Image" %>
26
- <%= form.file_field :command_item_image, class: "form-control" %>
27
- </div>
28
-
29
- <% if form.object.command_item_image.attached? %>
30
- <%= image_tag main_app.url_for(form.object.command_item_image), class: "img-responsive img-thumbnail" %>
31
- <% end %>
32
-
33
- <!-- Form Input Fields -->
34
-
35
- <!-- Form Submition Button -->
36
- <div class="actions">
37
- <%= form.submit class: "btn btn-primary" %>
38
- </div>
39
- <!-- For Submition Button -->
40
-
41
- <% end %>
42
- <!-- Form - Command - Item -->
1
+ <!-- Form - Command - Item -->
2
+ <%= form_with(model: [@command_post, @command_item], url: form_url, local: true) do |form| %>
3
+
4
+ <!-- PHCNotifi Render Validation -->
5
+ <%= render "phcdevworks_notifications/bootstrap/validations", :object => @command_item %>
6
+ <!-- PHCNotifi Render Validation -->
7
+
8
+ <!-- Form Input Fields -->
9
+ <div class="form-group">
10
+ <%= form.label :command_item_title, "Command Name" %>
11
+ <%= form.text_field :command_item_title, class: "form-control" %>
12
+ </div>
13
+
14
+ <div class="form-group">
15
+ <%= form.label :command_item_text, "Command Description" %>
16
+ <%= form.text_area :command_item_text, class: "form-control" %>
17
+ </div>
18
+
19
+ <div class="form-group">
20
+ <%= form.label :command_item_copy_command, "Copy Command" %>
21
+ <%= form.text_field :command_item_copy_command, class: "form-control" %>
22
+ </div>
23
+
24
+ <div class="form-group field_with_errors">
25
+ <%= form.label :command_item_image, "Featured Image" %>
26
+ <%= form.file_field :command_item_image, class: "form-control" %>
27
+ </div>
28
+
29
+ <% if form.object.command_item_image.attached? %>
30
+ <%= image_tag main_app.url_for(form.object.command_item_image), class: "img-responsive img-thumbnail" %>
31
+ <% end %>
32
+
33
+ <!-- Form Input Fields -->
34
+
35
+ <!-- Form Submition Button -->
36
+ <div class="actions">
37
+ <%= form.submit class: "btn btn-primary" %>
38
+ </div>
39
+ <!-- For Submition Button -->
40
+
41
+ <% end %>
42
+ <!-- Form - Command - Item -->
@@ -1,47 +1,47 @@
1
- <!-- PHCTitleSEO Title Variables -->
2
- <% phc_title "Command Item Manager" %>
3
- <% phc_title_tagline "Update Command Item" %>
4
- <% phc_breadcrumb_one yield(:phc_title_tagline) %>
5
- <% phc_breadcrumb_two link_to "Command Items Index", phcdevworks_tutorials.command_post_items_path %>
6
- <!-- PHCTitleSEO Title Variables -->
7
-
8
- <!-- Page Bradcrumbs -->
9
- <ol class="breadcrumb pull-right">
10
- <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
11
- <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
12
- </ol>
13
- <!-- Page Bradcrumbs -->
14
-
15
- <!-- Page Header -->
16
- <h2 class="page-header"><%= yield(:phc_title) %></h2>
17
- <!-- Page Header -->
18
-
19
- <!-- Page Content -->
20
- <div class="row">
21
- <div class="col-lg-12">
22
-
23
- <!-- Panel -->
24
- <div class="panel panel-inverse">
25
-
26
- <!-- Panel - Heading -->
27
- <div class="panel-heading">
28
- <h4 class="panel-title"><%= yield(:phc_title) %></h4>
29
- </div>
30
- <!-- Panel - Heading -->
31
-
32
- <!-- Panel - Body -->
33
- <div class="panel-body">
34
-
35
- <!-- Edit Form -->
36
- <%= render 'form', { form_url: command_post_item_path } %>
37
- <!-- Edit Form -->
38
-
39
- </div>
40
- <!-- Panel - Body -->
41
-
42
- </div>
43
- <!-- Panel -->
44
-
45
- </div>
46
- </div>
47
- <!-- Page Content -->
1
+ <!-- PHCTitleSEO Title Variables -->
2
+ <% phc_title "Command Item Manager" %>
3
+ <% phc_title_tagline "Update Command Item" %>
4
+ <% phc_breadcrumb_one yield(:phc_title_tagline) %>
5
+ <% phc_breadcrumb_two link_to "Command Items Index", phcdevworks_tutorials.command_post_items_path %>
6
+ <!-- PHCTitleSEO Title Variables -->
7
+
8
+ <!-- Page Bradcrumbs -->
9
+ <ol class="breadcrumb pull-right">
10
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
11
+ <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
12
+ </ol>
13
+ <!-- Page Bradcrumbs -->
14
+
15
+ <!-- Page Header -->
16
+ <h2 class="page-header"><%= yield(:phc_title) %></h2>
17
+ <!-- Page Header -->
18
+
19
+ <!-- Page Content -->
20
+ <div class="row">
21
+ <div class="col-lg-12">
22
+
23
+ <!-- Panel -->
24
+ <div class="panel panel-inverse">
25
+
26
+ <!-- Panel - Heading -->
27
+ <div class="panel-heading">
28
+ <h4 class="panel-title"><%= yield(:phc_title) %></h4>
29
+ </div>
30
+ <!-- Panel - Heading -->
31
+
32
+ <!-- Panel - Body -->
33
+ <div class="panel-body">
34
+
35
+ <!-- Edit Form -->
36
+ <%= render 'form', { form_url: command_post_item_path } %>
37
+ <!-- Edit Form -->
38
+
39
+ </div>
40
+ <!-- Panel - Body -->
41
+
42
+ </div>
43
+ <!-- Panel -->
44
+
45
+ </div>
46
+ </div>
47
+ <!-- Page Content -->