phcdevworks_tutorials 1.2.4 → 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/config/phcdevworks_tutorials_manifest.js +1 -1
  3. data/app/assets/stylesheets/phcdevworks_tutorials/category/posts.css +4 -0
  4. data/app/assets/stylesheets/phcdevworks_tutorials/tutorial/posts.css +4 -0
  5. data/app/assets/stylesheets/phcdevworks_tutorials/tutorial/steps.css +4 -0
  6. data/app/controllers/phcdevworks_tutorials/tutorial/categories_controller.rb +1 -2
  7. data/app/controllers/phcdevworks_tutorials/tutorial/posts_controller.rb +5 -6
  8. data/app/controllers/phcdevworks_tutorials/tutorial/steps_controller.rb +6 -12
  9. data/app/models/phcdevworks_tutorials/category.rb +7 -0
  10. data/app/models/phcdevworks_tutorials/tutorial/post.rb +1 -1
  11. data/app/models/phcdevworks_tutorials/tutorial/step.rb +1 -1
  12. data/app/views/layouts/phcdevworks_tutorials/application.html.erb +62 -77
  13. data/app/views/layouts/phcdevworks_tutorials/components/backend/footer/_footer.html.erb +7 -7
  14. data/app/views/layouts/phcdevworks_tutorials/components/backend/navigation/_top_menu.html.erb +37 -37
  15. data/app/views/layouts/phcdevworks_tutorials/components/backend/sidebars/_side_menu.html.erb +257 -239
  16. data/app/views/layouts/phcdevworks_tutorials/frontend.html.erb +0 -5
  17. data/app/views/phcdevworks_tutorials/tutorial/categories/_form.html.erb +16 -14
  18. data/app/views/phcdevworks_tutorials/tutorial/categories/edit.html.erb +31 -23
  19. data/app/views/phcdevworks_tutorials/tutorial/categories/index.html.erb +63 -52
  20. data/app/views/phcdevworks_tutorials/tutorial/categories/new.html.erb +31 -23
  21. data/app/views/phcdevworks_tutorials/tutorial/posts/_form.html.erb +46 -46
  22. data/app/views/phcdevworks_tutorials/tutorial/posts/edit.html.erb +31 -23
  23. data/app/views/phcdevworks_tutorials/tutorial/posts/index.html.erb +68 -56
  24. data/app/views/phcdevworks_tutorials/tutorial/posts/new.html.erb +31 -23
  25. data/app/views/phcdevworks_tutorials/tutorial/steps/_form.html.erb +31 -28
  26. data/app/views/phcdevworks_tutorials/tutorial/steps/edit.html.erb +31 -23
  27. data/app/views/phcdevworks_tutorials/tutorial/steps/index.html.erb +65 -50
  28. data/app/views/phcdevworks_tutorials/tutorial/steps/new.html.erb +31 -23
  29. data/app/views/phcdevworks_tutorials/tutorial/steps/show.html.erb +0 -14
  30. data/config/routes.rb +18 -18
  31. data/db/migrate/{20190911225813_create_phcdevworks_tutorials_tutorial_posts.rb → 20191017235259_create_phcdevworks_tutorials_tutorial_posts.rb} +3 -0
  32. data/db/migrate/{20190923113101_create_phcdevworks_tutorials_tutorial_steps.rb → 20191017235421_create_phcdevworks_tutorials_tutorial_steps.rb} +4 -2
  33. data/db/migrate/{20190911225925_create_phcdevworks_tutorials_tutorial_categories.rb → 20191018124910_create_phcdevworks_tutorials_tutorial_categories.rb} +0 -0
  34. data/lib/phcdevworks_tutorials/engine.rb +6 -8
  35. data/lib/phcdevworks_tutorials/version.rb +1 -1
  36. metadata +35 -20
  37. data/app/assets/javascripts/phcdevworks_tutorials/tutorial/posts.coffee +0 -3
  38. data/app/assets/javascripts/phcdevworks_tutorials/tutorial/steps.coffee +0 -3
  39. data/app/assets/stylesheets/phcdevworks_tutorials/tutorial/posts.scss +0 -3
  40. data/app/assets/stylesheets/phcdevworks_tutorials/tutorial/steps.scss +0 -3
  41. data/app/assets/stylesheets/scaffolds.scss +0 -65
  42. data/config/initializers/friendly_id.rb +0 -107
  43. data/db/migrate/20190929044403_add_info_to_phcdevworks_tutorials_tutorial_posts.rb +0 -9
  44. data/db/migrate/20190929044505_add_info_to_phcdevworks_tutorials_tutorial_steps.rb +0 -7
  45. data/db/migrate/20191002093451_add_image_to_phcdevworks_tutorials_tutorial_posts.rb +0 -8
@@ -1,5 +0,0 @@
1
- <!-- Page Content -->
2
- <div id="content" class="content">
3
- <%= yield %>
4
- </div>
5
- <!-- Page Content -->
@@ -1,20 +1,22 @@
1
+ <!-- Form - Tutorial - Category -->
1
2
  <%= form_with(model: tutorial_category, local: true) do |form| %>
2
3
 
3
- <!-- PHCNotifi Render Validation -->
4
- <%= render "phcdevworks_notifications/bootstrap/validations", :object => @tutorial_category %>
5
- <!-- PHCNotifi Render Validation -->
4
+ <!-- PHCNotifi Render Validation -->
5
+ <%= render "phcdevworks_notifications/bootstrap/validations", :object => @tutorial_category %>
6
+ <!-- PHCNotifi Render Validation -->
6
7
 
7
- <!-- Form Input Fields -->
8
- <div class="form-group field_with_errors">
9
- <%= form.label :tutorial_category_name, "Tutorial Category" %>
10
- <%= form.text_field :tutorial_category_name, placeholder: "Category Name", class: "form-control" %>
11
- </div>
12
- <!-- Form Input Fields -->
8
+ <!-- Form Input Fields -->
9
+ <div class="form-group field_with_errors">
10
+ <%= form.label :tutorial_category_name, "Tutorial Category" %>
11
+ <%= form.text_field :tutorial_category_name, placeholder: "Category Name", class: "form-control" %>
12
+ </div>
13
+ <!-- Form Input Fields -->
13
14
 
14
- <!-- Form Submition Button -->
15
- <div class="actions">
16
- <%= form.submit class: "btn btn-primary" %>
17
- </div>
18
- <!-- For Submition Button -->
15
+ <!-- Form Submition Button -->
16
+ <div class="actions">
17
+ <%= form.submit class: "btn btn-primary" %>
18
+ </div>
19
+ <!-- For Submition Button -->
19
20
 
20
21
  <% end %>
22
+ <!-- Form - Tutorial - Category -->
@@ -1,39 +1,47 @@
1
- <!-- Title System -->
1
+ <!-- PHCTitleSEO Title Variables -->
2
2
  <% phc_title "Tutorial Post Manager" %>
3
3
  <% phc_title_tagline "Update Tutorial Category" %>
4
4
  <% phc_breadcrumb_one yield(:phc_title_tagline) %>
5
5
  <% phc_breadcrumb_two link_to "Category Index", phcdevworks_tutorials.tutorial_categories_path %>
6
- <!-- Title System -->
6
+ <!-- PHCTitleSEO Title Variables -->
7
7
 
8
8
  <!-- Page Bradcrumbs -->
9
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>
10
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
11
+ <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
12
12
  </ol>
13
13
  <!-- Page Bradcrumbs -->
14
14
 
15
15
  <!-- Page Header -->
16
- <h1 class="page-header"><%= yield(:phc_title) %></h1>
16
+ <h2 class="page-header"><%= yield(:phc_title) %></h2>
17
17
  <!-- Page Header -->
18
18
 
19
- <!-- Page & Panel Content -->
20
- <div class="panel panel-inverse">
21
- <!-- Panel Heading -->
22
- <div class="panel-heading">
23
- <div class="panel-heading-btn">
24
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
25
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
26
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
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", tutorial_category: @tutorial_category %>
37
+ <!-- Edit Form -->
38
+
39
+ </div>
40
+ <!-- Panel - Body -->
41
+
27
42
  </div>
28
- <h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
29
- </div>
30
- <!-- Panel Heading -->
31
- <!-- Panel Body -->
32
- <div class="panel-body">
33
- <!-- Form to Edit Tutorial Categories -->
34
- <%= render 'form', tutorial_category: @tutorial_category %>
35
- <!-- Form to Edit Tutorial Categories -->
43
+ <!-- Panel -->
44
+
36
45
  </div>
37
- <!-- Panel Body -->
38
46
  </div>
39
- <!-- Page & Panel Content -->
47
+ <!-- Page Content -->
@@ -1,69 +1,80 @@
1
- <!-- Title System -->
1
+ <!-- PHCTitleSEO Title Variables -->
2
2
  <% phc_title "Tutorial Post Manager" %>
3
3
  <% phc_title_tagline "Category Index" %>
4
4
  <% phc_breadcrumb_one yield(:phc_title_tagline) %>
5
5
  <% phc_breadcrumb_two link_to "Category Index", phcdevworks_tutorials.tutorial_categories_path %>
6
- <!-- Title System -->
6
+ <!-- PHCTitleSEO Title Variables -->
7
7
 
8
8
  <!-- Page Bradcrumbs -->
9
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>
10
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
11
+ <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
12
12
  </ol>
13
13
  <!-- Page Bradcrumbs -->
14
14
 
15
15
  <!-- Page Header -->
16
- <h1 class="page-header"><%= yield(:phc_title) %></h1>
16
+ <h2 class="page-header"><%= yield(:phc_title) %></h2>
17
17
  <!-- Page Header -->
18
18
 
19
- <!-- Page & Panel Content -->
20
- <div class="panel panel-inverse">
21
- <!-- Panel Heading -->
22
- <div class="panel-heading">
23
- <div class="panel-heading-btn">
24
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
25
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
26
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
27
- </div>
28
- <h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
29
- </div>
30
- <!-- Panel Heading -->
31
- <!-- Panel Body -->
32
- <div class="panel-body">
33
- <!-- Table - Snippet Index -->
34
- <div class="table-responsive">
35
- <table class="table table-striped table-bordered">
19
+ <!-- Page Content -->
20
+ <div class="row">
21
+ <div class="col-lg-12">
36
22
 
37
- <thead>
38
- <tr>
39
- <th>Category</th>
40
- <th></th>
41
- </tr>
42
- </thead>
23
+ <!-- Panel -->
24
+ <div class="panel panel-inverse">
43
25
 
44
- <tbody>
45
- <% @tutorial_categories.each do |tutorial_category| %>
46
- <tr>
47
- <td><%= tutorial_category.tutorial_category_name %></td>
48
- <td>
49
- <div class="btn-group d-flex" role="group">
50
- <%= link_to 'Details', tutorial_category, class: "btn btn-purple btn-xs" %>
51
- <%= link_to 'Update', edit_tutorial_category_path(tutorial_category), class: "btn btn-primary btn-xs" %>
52
- <%= link_to 'Remove', tutorial_category, method: :delete, data: { confirm: 'Are you sure? This action cannot be reversed.' }, class: "btn btn-danger btn-xs" %>
53
- </div>
54
- </td>
55
- </tr>
56
- <% end %>
57
- </tbody>
26
+ <!-- Panel - Heading -->
27
+ <div class="panel-heading">
28
+ <h4 class="panel-title"><%= yield(:phc_title) %></h4>
29
+ </div>
30
+ <!-- Panel - Heading -->
58
31
 
59
- </table>
60
- <%= link_to phcdevworks_tutorials.new_tutorial_category_path, class: "btn btn-primary btn-sm" do %>
61
- <i class="fas fa-plus-circle"></i>
62
- Add a New Script URL
63
- <% end %>
64
- </div>
65
- <!-- Table - Snippet Index -->
66
- </div>
67
- <!-- Panel Body -->
32
+ <!-- Panel - Body -->
33
+ <div class="panel-body">
34
+
35
+ <!-- Index - Table -->
36
+ <div class="table-responsive">
37
+ <table class="table table-striped table-bordered">
38
+
39
+ <thead>
40
+ <tr>
41
+ <th>Category</th>
42
+ <th></th>
43
+ </tr>
44
+ </thead>
45
+
46
+ <tbody>
47
+ <% @tutorial_categories.each do |tutorial_category| %>
48
+ <tr>
49
+ <td><%= tutorial_category.tutorial_category_name %></td>
50
+ <td>
51
+ <div class="btn-group d-flex" role="group">
52
+ <%= link_to "Category Details", tutorial_category, class: "btn btn-purple btn-xs" %>
53
+ <%= link_to "Update Category", edit_tutorial_category_path(tutorial_category), class: "btn btn-primary btn-xs" %>
54
+ <%= link_to "Remove Category", tutorial_category, method: :delete, data: { confirm: "Are you sure? This action cannot be reversed." }, class: "btn btn-danger btn-xs" %>
55
+ </div>
56
+ </td>
57
+ </tr>
58
+ <% end %>
59
+ </tbody>
60
+
61
+ </table>
62
+ </div>
63
+ <!-- Index - Table -->
64
+
65
+ <!-- New Button -->
66
+ <%= link_to phcdevworks_tutorials.new_tutorial_category_path, class: "btn btn-primary btn-sm" do %>
67
+ <i class="fad fa-plus-circle"></i>
68
+ Add a New Script URL
69
+ <% end %>
70
+ <!-- New Button -->
71
+
72
+ </div>
73
+ <!-- Panel - Body -->
74
+
75
+ </div>
76
+ <!-- Panel -->
77
+
78
+ </div>
68
79
  </div>
69
- <!-- Page & Panel Content -->
80
+ <!-- Page Content -->
@@ -1,39 +1,47 @@
1
- <!-- Title System -->
1
+ <!-- PHCTitleSEO Title Variables -->
2
2
  <% phc_title "Tutorial Post Manager" %>
3
3
  <% phc_title_tagline "Add a New Tutorial Category" %>
4
4
  <% phc_breadcrumb_one yield(:phc_title_tagline) %>
5
5
  <% phc_breadcrumb_two link_to "Category Index", phcdevworks_tutorials.tutorial_categories_path %>
6
- <!-- Title System -->
6
+ <!-- PHCTitleSEO Title Variables -->
7
7
 
8
8
  <!-- Page Bradcrumbs -->
9
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>
10
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
11
+ <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
12
12
  </ol>
13
13
  <!-- Page Bradcrumbs -->
14
14
 
15
15
  <!-- Page Header -->
16
- <h1 class="page-header"><%= yield(:phc_title) %></h1>
16
+ <h2 class="page-header"><%= yield(:phc_title) %></h2>
17
17
  <!-- Page Header -->
18
18
 
19
- <!-- Page & Panel Content -->
20
- <div class="panel panel-inverse">
21
- <!-- Panel Heading -->
22
- <div class="panel-heading">
23
- <div class="panel-heading-btn">
24
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
25
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
26
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
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
+ <!-- New Form -->
36
+ <%= render "form", tutorial_category: @tutorial_category %>
37
+ <!-- New Form -->
38
+
39
+ </div>
40
+ <!-- Panel - Body -->
41
+
27
42
  </div>
28
- <h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
29
- </div>
30
- <!-- Panel Heading -->
31
- <!-- Panel Body -->
32
- <div class="panel-body">
33
- <!-- Form for New Tutorial Category -->
34
- <%= render 'form', tutorial_category: @tutorial_category %>
35
- <!-- Form for New Script Snippet -->
43
+ <!-- Panel -->
44
+
36
45
  </div>
37
- <!-- Panel Body -->
38
46
  </div>
39
- <!-- Page & Panel Content -->
47
+ <!-- Page Content -->
@@ -1,50 +1,50 @@
1
+ <!-- Form - Tutorial - Posts -->
1
2
  <%= form_with(model: tutorial_post, local: true) do |form| %>
2
3
 
3
- <!-- PHCNotifi Render Validation -->
4
- <%= render "phcdevworks_notifications/bootstrap/validations", :object => @tutorial_post %>
5
- <!-- PHCNotifi Render Validation -->
6
-
7
- <!-- Form Input Fields -->
8
- <div class="form-group field_with_errors">
9
- <%= form.label :tutorial_post_title, "Tutorial Title" %>
10
- <%= form.text_field :tutorial_post_title, placeholder: "Tutorial Title", class: "form-control" %>
11
- </div>
12
-
13
- <div class="form-group field_with_errors">
14
- <%= form.label :tutorial_post_description, "Tutorial Description" %>
15
- <%= form.text_area :tutorial_post_description, class: "form-control", rows: "10" %>
16
- </div>
17
-
18
- <div class="form-group field_with_errors">
19
- <%= form.label :tutorial_post_status, "Tutorial Status" %>
20
- <%= form.select( :tutorial_post_status, [['Draft','draft'],['Published','published'],['Review','review']], {}, {class: "form-control form-control"}) %>
21
- </div>
22
-
23
- <div class="form-group field_with_errors">
24
- <div class="form-group field_with_errors">
25
- <%= form.label :tutorial_post_image, "Featured Image" %>
26
- <%= form.file_field :tutorial_post_image, class: "form-control" %>
27
- </div>
28
- <% if form.object.tutorial_post_image.attached? %>
29
- <%= image_tag main_app.url_for(form.object.tutorial_post_image), class: "img-responsive img-thumbnail" %>
30
- <% end %>
31
- </div>
32
-
33
- <div class="form-group field_with_errors">
34
- <label>Select a Category</label>
35
- <div class="panel-body">
36
- <%= form.collection_check_boxes :category_ids, PhcdevworksTutorials::Tutorial::Category.order(:tutorial_category_name), :id, :tutorial_category_name do |post_category| %>
37
- <%= post_category.check_box %>
38
- <%= post_category.label %><br>
39
- <% end %>
40
- </div>
41
- </div>
42
- <!-- Form Input Fields -->
43
-
44
- <!-- Form Submition Button -->
45
- <div class="actions">
46
- <%= form.submit class: "btn btn-primary" %>
47
- </div>
48
- <!-- For Submition Button -->
4
+ <!-- PHCNotifi Render Validation -->
5
+ <%= render "phcdevworks_notifications/bootstrap/validations", :object => @tutorial_post %>
6
+ <!-- PHCNotifi Render Validation -->
7
+
8
+ <!-- Form Input Fields -->
9
+ <div class="form-group field_with_errors">
10
+ <%= form.label :tutorial_post_title, "Tutorial Title" %>
11
+ <%= form.text_field :tutorial_post_title, placeholder: "Tutorial Title", class: "form-control" %>
12
+ </div>
13
+
14
+ <div class="form-group field_with_errors">
15
+ <%= form.label :tutorial_post_description, "Tutorial Description" %>
16
+ <%= form.text_area :tutorial_post_description, class: "form-control", rows: "10" %>
17
+ </div>
18
+
19
+ <div class="form-group field_with_errors">
20
+ <%= form.label :tutorial_post_status, "Tutorial Status" %>
21
+ <%= form.select( :tutorial_post_status, [["Draft","draft"],["Published","published"],["Review","review"]], {}, {class: "form-control form-control"}) %>
22
+ </div>
23
+
24
+ <div class="form-group field_with_errors">
25
+ <%= form.label :tutorial_post_image, "Featured Image" %>
26
+ <%= form.file_field :tutorial_post_image, class: "form-control" %>
27
+ </div>
28
+ <% if form.object.tutorial_post_image.attached? %>
29
+ <%= image_tag main_app.url_for(form.object.tutorial_post_image), class: "img-responsive img-thumbnail" %>
30
+ <% end %>
31
+
32
+ <div class="form-group field_with_errors">
33
+ <label>Select a Category</label>
34
+ <div class="panel-body">
35
+ <%= form.collection_check_boxes :category_ids, PhcdevworksTutorials::Tutorial::Category.order(:tutorial_category_name), :id, :tutorial_category_name do |post_category| %>
36
+ <%= post_category.check_box %>
37
+ <%= post_category.label %><br>
38
+ <% end %>
39
+ </div>
40
+ </div>
41
+ <!-- Form Input Fields -->
42
+
43
+ <!-- Form Submition Button -->
44
+ <div class="actions">
45
+ <%= form.submit class: "btn btn-primary" %>
46
+ </div>
47
+ <!-- For Submition Button -->
49
48
 
50
49
  <% end %>
50
+ <!-- Form - Tutorial - Posts -->
@@ -1,39 +1,47 @@
1
- <!-- Title System -->
1
+ <!-- PHCTitleSEO Title Variables -->
2
2
  <% phc_title "Tutorial Post Manager" %>
3
3
  <% phc_title_tagline "Update Tutorial Information" %>
4
4
  <% phc_breadcrumb_one yield(:phc_title_tagline) %>
5
5
  <% phc_breadcrumb_two link_to "Category Index", phcdevworks_tutorials.tutorial_categories_path %>
6
- <!-- Title System -->
6
+ <!-- PHCTitleSEO Title Variables -->
7
7
 
8
8
  <!-- Page Bradcrumbs -->
9
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>
10
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
11
+ <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
12
12
  </ol>
13
13
  <!-- Page Bradcrumbs -->
14
14
 
15
15
  <!-- Page Header -->
16
- <h1 class="page-header"><%= yield(:phc_title) %></h1>
16
+ <h2 class="page-header"><%= yield(:phc_title) %></h2>
17
17
  <!-- Page Header -->
18
18
 
19
- <!-- Page & Panel Content -->
20
- <div class="panel panel-inverse">
21
- <!-- Panel Heading -->
22
- <div class="panel-heading">
23
- <div class="panel-heading-btn">
24
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
25
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
26
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
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", tutorial_post: @tutorial_post %>
37
+ <!-- Edit Form -->
38
+
39
+ </div>
40
+ <!-- Panel - Body -->
41
+
27
42
  </div>
28
- <h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
29
- </div>
30
- <!-- Panel Heading -->
31
- <!-- Panel Body -->
32
- <div class="panel-body">
33
- <!-- Form to Edit Tutorial Posts -->
34
- <%= render 'form', tutorial_post: @tutorial_post %>
35
- <!-- Form to Edit Tutorial Posts -->
43
+ <!-- Panel -->
44
+
36
45
  </div>
37
- <!-- Panel Body -->
38
46
  </div>
39
- <!-- Page & Panel Content -->
47
+ <!-- Page Content -->