phcdevworks_core_modules 7.3.0 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/MIT-LICENSE +20 -20
- data/README.md +3 -0
- data/Rakefile +8 -8
- data/app/assets/config/phcdevworks_core_modules_manifest.js +2 -3
- data/app/controllers/phcdevworks_core_modules/affiliate/links_controller.rb +0 -0
- data/app/controllers/phcdevworks_core_modules/application_controller.rb +0 -0
- data/app/controllers/phcdevworks_core_modules/marketing/optimizations_controller.rb +0 -0
- data/app/controllers/phcdevworks_core_modules/post/categories_controller.rb +0 -0
- data/app/helpers/phcdevworks_core_modules/affiliate/links_helper.rb +0 -0
- data/app/helpers/phcdevworks_core_modules/application_helper.rb +0 -0
- data/app/helpers/phcdevworks_core_modules/marketing/optimizations_helper.rb +0 -0
- data/app/helpers/phcdevworks_core_modules/post/categories_helper.rb +0 -0
- data/app/jobs/phcdevworks_core_modules/application_job.rb +0 -0
- data/app/mailers/phcdevworks_core_modules/application_mailer.rb +0 -0
- data/app/models/phcdevworks_core_modules/affiliate/link.rb +1 -1
- data/app/models/phcdevworks_core_modules/affiliate.rb +0 -0
- data/app/models/phcdevworks_core_modules/affiliate_link_versions.rb +0 -0
- data/app/models/phcdevworks_core_modules/application_record.rb +0 -0
- data/app/models/phcdevworks_core_modules/marketing/optimization.rb +1 -1
- data/app/models/phcdevworks_core_modules/marketing.rb +0 -0
- data/app/models/phcdevworks_core_modules/marketing_optimization_versions.rb +0 -0
- data/app/models/phcdevworks_core_modules/modules.rb +0 -0
- data/app/models/phcdevworks_core_modules/post/category.rb +1 -1
- data/app/models/phcdevworks_core_modules/post.rb +0 -0
- data/app/models/phcdevworks_core_modules/post_category_versions.rb +0 -0
- data/app/views/layouts/phcdevworks_core_modules/application.html.erb +73 -131
- data/app/views/layouts/phcdevworks_core_modules/components/backend/footer/_footer.html.erb +10 -9
- data/app/views/layouts/phcdevworks_core_modules/components/backend/navigation/_top_menu.html.erb +26 -25
- data/app/views/layouts/phcdevworks_core_modules/components/backend/sidebars/_side_menu.html.erb +491 -349
- data/app/views/phcdevworks_core_modules/affiliate/links/_form.html.erb +19 -9
- data/app/views/phcdevworks_core_modules/affiliate/links/edit.html.erb +23 -31
- data/app/views/phcdevworks_core_modules/affiliate/links/index.html.erb +58 -66
- data/app/views/phcdevworks_core_modules/affiliate/links/new.html.erb +23 -31
- data/app/views/phcdevworks_core_modules/affiliate/links/show.html.erb +0 -0
- data/app/views/phcdevworks_core_modules/marketing/optimizations/_form.html.erb +16 -18
- data/app/views/phcdevworks_core_modules/marketing/optimizations/edit.html.erb +23 -31
- data/app/views/phcdevworks_core_modules/marketing/optimizations/index.html.erb +61 -69
- data/app/views/phcdevworks_core_modules/marketing/optimizations/new.html.erb +23 -31
- data/app/views/phcdevworks_core_modules/marketing/optimizations/show.html.erb +0 -0
- data/app/views/phcdevworks_core_modules/post/categories/_form.html.erb +4 -4
- data/app/views/phcdevworks_core_modules/post/categories/edit.html.erb +23 -31
- data/app/views/phcdevworks_core_modules/post/categories/index.html.erb +53 -61
- data/app/views/phcdevworks_core_modules/post/categories/new.html.erb +23 -31
- data/app/views/phcdevworks_core_modules/post/categories/show.html.erb +0 -0
- data/config/routes.rb +22 -24
- data/db/migrate/20170517064427_create_phcdevworks_core_modules_post_category_versions.rb +1 -1
- data/db/migrate/20200705223718_create_phcdevworks_core_modules_marketing_optimizations.rb +1 -1
- data/db/migrate/20200705225433_create_phcdevworks_core_modules_marketing_optimization_versions.rb +1 -1
- data/db/migrate/20200706094820_create_phcdevworks_core_modules_post_categories.rb +1 -1
- data/db/migrate/20201012225709_remove_phcdevworks_core_modules_post_categories.rb +1 -1
- data/db/migrate/20210207051304_create_phcdevworks_core_modules_affiliate_link_versions.rb +1 -1
- data/db/migrate/20210208130113_create_phcdevworks_core_modules_affiliate_links.rb +1 -1
- data/lib/phcdevworks_core_modules/engine.rb +5 -47
- data/lib/phcdevworks_core_modules/version.rb +3 -3
- data/lib/phcdevworks_core_modules.rb +6 -6
- data/lib/tasks/phcdevworks_core_modules_tasks.rake +4 -4
- metadata +24 -74
- data/app/assets/javascripts/phcdevworks_core_modules/affiliate/links.coffee +0 -3
- data/app/assets/stylesheets/phcdevworks_core_modules/affiliate/links.scss +0 -3
- data/app/assets/stylesheets/phcdevworks_core_modules/application.scss +0 -0
- data/app/assets/stylesheets/phcdevworks_core_modules/marketing/optimizations.scss +0 -3
- data/app/assets/stylesheets/phcdevworks_core_modules/post/categories.scss +0 -3
- data/app/assets/stylesheets/scaffolds.scss +0 -65
- data/config/spring.rb +0 -2
|
@@ -1,27 +1,37 @@
|
|
|
1
|
+
<!-- Form - Affiliate - Link -->
|
|
1
2
|
<%= form_with(model: affiliate_link) do |form| %>
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
<!-- PHCNotifi Render Validation -->
|
|
5
|
+
<%= render "phcdevworks_notifications/bootstrap/validations", :object => @affiliate_link %>
|
|
6
|
+
<!-- PHCNotifi Render Validation -->
|
|
7
|
+
|
|
8
|
+
<!-- Form Input Fields -->
|
|
9
|
+
<div class="mb-3">
|
|
10
|
+
<%= form.label :affiliate_link_name, "Link Name", class: "form-label" %>
|
|
5
11
|
<%= form.text_field :affiliate_link_name, class: "form-control" %>
|
|
6
12
|
</div>
|
|
7
13
|
|
|
8
|
-
<div class="
|
|
9
|
-
<%= form.label :affiliate_link_button_text, "Button Text" %>
|
|
14
|
+
<div class="mb-3">
|
|
15
|
+
<%= form.label :affiliate_link_button_text, "Button Text", class: "form-label" %>
|
|
10
16
|
<%= form.text_field :affiliate_link_button_text, class: "form-control" %>
|
|
11
17
|
</div>
|
|
12
18
|
|
|
13
|
-
<div class="
|
|
14
|
-
<%= form.label :affiliate_link_url, "Affiliate Link" %>
|
|
19
|
+
<div class="mb-3">
|
|
20
|
+
<%= form.label :affiliate_link_url, "Affiliate Link", class: "form-label" %>
|
|
15
21
|
<%= form.text_field :affiliate_link_url, class: "form-control" %>
|
|
16
22
|
</div>
|
|
17
23
|
|
|
18
|
-
<div class="
|
|
19
|
-
<%= form.label :affiliate_link_original_url, "Original URL" %>
|
|
24
|
+
<div class="mb-3">
|
|
25
|
+
<%= form.label :affiliate_link_original_url, "Original URL", class: "form-label" %>
|
|
20
26
|
<%= form.text_field :affiliate_link_original_url, class: "form-control" %>
|
|
21
27
|
</div>
|
|
22
|
-
|
|
28
|
+
<!-- Form Input Fields -->
|
|
29
|
+
|
|
30
|
+
<!-- Form Submition Button -->
|
|
23
31
|
<div class="actions">
|
|
24
32
|
<%= form.submit class: "btn btn-primary" %>
|
|
25
33
|
</div>
|
|
34
|
+
<!-- For Submition Button -->
|
|
26
35
|
|
|
27
36
|
<% end %>
|
|
37
|
+
<!-- Form - Affiliate - Link -->
|
|
@@ -1,47 +1,39 @@
|
|
|
1
|
-
<!-- PHCTitleSEO Title Variables -->
|
|
1
|
+
<!-- -PHCDev- PHCTitleSEO Title Variables -->
|
|
2
2
|
<% phc_title "Affiliate Manager" %>
|
|
3
3
|
<% phc_title_tagline "Update Affiliate Link" %>
|
|
4
4
|
<% phc_breadcrumb_one yield(:phc_title_tagline) %>
|
|
5
5
|
<% phc_breadcrumb_two link_to "Affiliate Link Index", phcdevworks_core_modules.affiliate_links_path %>
|
|
6
|
-
<!-- PHCTitleSEO Title Variables -->
|
|
6
|
+
<!-- -PHCDev- PHCTitleSEO Title Variables -->
|
|
7
7
|
|
|
8
|
-
<!-- Page Bradcrumbs -->
|
|
9
|
-
<ol class="breadcrumb
|
|
8
|
+
<!-- -PHCDev- Page Bradcrumbs -->
|
|
9
|
+
<ol class="breadcrumb float-xl-end">
|
|
10
10
|
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
|
11
11
|
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
|
|
12
12
|
</ol>
|
|
13
|
-
<!-- Page Bradcrumbs -->
|
|
13
|
+
<!-- -PHCDev- Page Bradcrumbs -->
|
|
14
14
|
|
|
15
|
-
<!-- Page Header -->
|
|
16
|
-
<
|
|
17
|
-
<!-- Page Header -->
|
|
15
|
+
<!-- -PHCDev- Page Header -->
|
|
16
|
+
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
|
17
|
+
<!-- -PHCDev- Page Header -->
|
|
18
18
|
|
|
19
|
-
<!--
|
|
20
|
-
<div class="
|
|
21
|
-
<div class="col-lg-12">
|
|
19
|
+
<!-- -PHCDev- Panel -->
|
|
20
|
+
<div class="panel panel-inverse">
|
|
22
21
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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', affiliate_link: @affiliate_link %>
|
|
37
|
-
<!-- Edit Form -->
|
|
22
|
+
<!-- -PHCDev- Panel - Heading -->
|
|
23
|
+
<div class="panel-heading">
|
|
24
|
+
<h4 class="panel-title"><%= yield(:phc_title) %></h4>
|
|
25
|
+
</div>
|
|
26
|
+
<!-- -PHCDev- Panel - Heading -->
|
|
38
27
|
|
|
39
|
-
|
|
40
|
-
|
|
28
|
+
<!-- -PHCDev- Panel - Body -->
|
|
29
|
+
<div class="panel-body">
|
|
41
30
|
|
|
42
|
-
|
|
43
|
-
|
|
31
|
+
<!-- -PHCDev- Edit Form -->
|
|
32
|
+
<%= render 'form', affiliate_link: @affiliate_link %>
|
|
33
|
+
<!-- -PHCDev- Edit Form -->
|
|
44
34
|
|
|
45
35
|
</div>
|
|
36
|
+
<!-- -PHCDev- Panel - Body -->
|
|
37
|
+
|
|
46
38
|
</div>
|
|
47
|
-
<!--
|
|
39
|
+
<!-- -PHCDev- Panel -->
|
|
@@ -1,86 +1,78 @@
|
|
|
1
|
-
<!-- PHCTitleSEO Title Variables -->
|
|
1
|
+
<!-- -PHCDev- PHCTitleSEO Title Variables -->
|
|
2
2
|
<% phc_title "Marketing Manager" %>
|
|
3
3
|
<% phc_title_tagline "Affiliate Links" %>
|
|
4
4
|
<% phc_breadcrumb_one yield(:phc_title_tagline) %>
|
|
5
5
|
<% phc_breadcrumb_two link_to "Affiliate Link Index", phcdevworks_core_modules.affiliate_links_path %>
|
|
6
|
-
<!-- PHCTitleSEO Title Variables -->
|
|
6
|
+
<!-- -PHCDev- PHCTitleSEO Title Variables -->
|
|
7
7
|
|
|
8
|
-
<!-- Page Bradcrumbs -->
|
|
9
|
-
<ol class="breadcrumb
|
|
8
|
+
<!-- -PHCDev- Page Bradcrumbs -->
|
|
9
|
+
<ol class="breadcrumb float-xl-end">
|
|
10
10
|
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
|
11
11
|
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
|
|
12
12
|
</ol>
|
|
13
|
-
<!-- Page Bradcrumbs -->
|
|
13
|
+
<!-- -PHCDev- Page Bradcrumbs -->
|
|
14
14
|
|
|
15
|
-
<!-- Page Header -->
|
|
16
|
-
<
|
|
17
|
-
<!-- Page Header -->
|
|
15
|
+
<!-- -PHCDev- Page Header -->
|
|
16
|
+
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
|
17
|
+
<!-- -PHCDev- Page Header -->
|
|
18
18
|
|
|
19
|
-
<!--
|
|
20
|
-
<div class="
|
|
21
|
-
<div class="col-lg-12">
|
|
19
|
+
<!-- -PHCDev- Panel -->
|
|
20
|
+
<div class="panel panel-inverse">
|
|
22
21
|
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
<!-- -PHCDev- Panel - Heading -->
|
|
23
|
+
<div class="panel-heading">
|
|
24
|
+
<h4 class="panel-title"><%= yield(:phc_title) %> - <%= yield(:phc_title_tagline) %></h4>
|
|
25
|
+
</div>
|
|
26
|
+
<!-- -PHCDev- Panel - Heading -->
|
|
25
27
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
<h4 class="panel-title"><%= yield(:phc_title) %> - <%= yield(:phc_title_tagline) %></h4>
|
|
29
|
-
</div>
|
|
30
|
-
<!-- Panel - Heading -->
|
|
28
|
+
<!-- -PHCDev- Panel - Body -->
|
|
29
|
+
<div class="panel-body">
|
|
31
30
|
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
<!-- -PHCDev- Index - Table -->
|
|
32
|
+
<div class="table-responsive">
|
|
33
|
+
<table class="table table-striped table-bordered">
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
<thead>
|
|
36
|
+
<tr>
|
|
37
|
+
<th>Link Name</th>
|
|
38
|
+
<th>Button Text</th>
|
|
39
|
+
<th>Affiliate URL</th>
|
|
40
|
+
<th>Original URL</th>
|
|
41
|
+
<th></th>
|
|
42
|
+
</tr>
|
|
43
|
+
</thead>
|
|
38
44
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
<tbody>
|
|
46
|
+
<% @affiliate_links.each do |affiliate_link| %>
|
|
47
|
+
<tr>
|
|
48
|
+
<td><%= affiliate_link.affiliate_link_name %></td>
|
|
49
|
+
<td><%= affiliate_link.affiliate_link_button_text %></td>
|
|
50
|
+
<td><%= affiliate_link.affiliate_link_url %></td>
|
|
51
|
+
<td><%= affiliate_link.affiliate_link_original_url %></td>
|
|
52
|
+
<td>
|
|
53
|
+
<div class="btn-group" role="group" aria-label="Index Actions">
|
|
54
|
+
<%= link_to "Link Details", affiliate_link, class: "btn btn-purple btn-xs" %>
|
|
55
|
+
<%= link_to "Update Link", edit_affiliate_link_path(affiliate_link), class: "btn btn-primary btn-xs" %>
|
|
56
|
+
<%= link_to "Remove", affiliate_link, method: :delete, data: { confirm: "Are you sure? This action cannot be reversed." }, class: "btn btn-danger btn-xs" %>
|
|
57
|
+
</div>
|
|
58
|
+
</td>
|
|
59
|
+
</tr>
|
|
60
|
+
<% end %>
|
|
61
|
+
</tbody>
|
|
48
62
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
<td><%= affiliate_link.affiliate_link_name %></td>
|
|
53
|
-
<td><%= affiliate_link.affiliate_link_button_text %></td>
|
|
54
|
-
<td><%= affiliate_link.affiliate_link_url %></td>
|
|
55
|
-
<td><%= affiliate_link.affiliate_link_original_url %></td>
|
|
56
|
-
<td>
|
|
57
|
-
<div class="btn-group d-flex" role="group">
|
|
58
|
-
<%= link_to "Link Details", affiliate_link, class: "btn btn-purple btn-xs" %>
|
|
59
|
-
<%= link_to "Update Link", edit_affiliate_link_path(affiliate_link), class: "btn btn-primary btn-xs" %>
|
|
60
|
-
<%= link_to "Remove", affiliate_link, method: :delete, data: { confirm: "Are you sure? This action cannot be reversed." }, class: "btn btn-danger btn-xs" %>
|
|
61
|
-
</div>
|
|
62
|
-
</td>
|
|
63
|
-
</tr>
|
|
64
|
-
<% end %>
|
|
65
|
-
</tbody>
|
|
63
|
+
</table>
|
|
64
|
+
</div>
|
|
65
|
+
<!-- -PHCDev- Index - Table -->
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
<!-- -PHCDev- New Button -->
|
|
68
|
+
<%= link_to phcdevworks_core_modules.new_affiliate_link_path, class: "btn btn-primary btn-sm" do %>
|
|
69
|
+
<i class="fad fa-plus-circle"></i>
|
|
70
|
+
Add a New Affiliate Link
|
|
71
|
+
<% end %>
|
|
72
|
+
<!-- -PHCDev- New Button -->
|
|
70
73
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
<i class="fad fa-plus-circle"></i>
|
|
74
|
-
Add a New Affiliate Link
|
|
75
|
-
<% end %>
|
|
76
|
-
<!-- New Button -->
|
|
74
|
+
</div>
|
|
75
|
+
<!-- -PHCDev- Panel - Body -->
|
|
77
76
|
|
|
78
|
-
</div>
|
|
79
|
-
<!-- Panel - Body -->
|
|
80
|
-
|
|
81
|
-
</div>
|
|
82
|
-
<!-- Panel -->
|
|
83
|
-
|
|
84
|
-
</div>
|
|
85
77
|
</div>
|
|
86
|
-
<!--
|
|
78
|
+
<!-- -PHCDev- Panel -->
|
|
@@ -1,47 +1,39 @@
|
|
|
1
|
-
<!-- PHCTitleSEO Title Variables -->
|
|
1
|
+
<!-- -PHCDev- PHCTitleSEO Title Variables -->
|
|
2
2
|
<% phc_title "Affiliate Manager" %>
|
|
3
3
|
<% phc_title_tagline "New Affiliate Link" %>
|
|
4
4
|
<% phc_breadcrumb_one yield(:phc_title_tagline) %>
|
|
5
5
|
<% phc_breadcrumb_two link_to "Affiliate Link Index", phcdevworks_core_modules.affiliate_links_path %>
|
|
6
|
-
<!-- PHCTitleSEO Title Variables -->
|
|
6
|
+
<!-- -PHCDev- PHCTitleSEO Title Variables -->
|
|
7
7
|
|
|
8
|
-
<!-- Page Bradcrumbs -->
|
|
9
|
-
<ol class="breadcrumb
|
|
8
|
+
<!-- -PHCDev- Page Bradcrumbs -->
|
|
9
|
+
<ol class="breadcrumb float-xl-end">
|
|
10
10
|
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
|
11
11
|
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
|
|
12
12
|
</ol>
|
|
13
|
-
<!-- Page Bradcrumbs -->
|
|
13
|
+
<!-- -PHCDev- Page Bradcrumbs -->
|
|
14
14
|
|
|
15
|
-
<!-- Page Header -->
|
|
16
|
-
<
|
|
17
|
-
<!-- Page Header -->
|
|
15
|
+
<!-- -PHCDev- Page Header -->
|
|
16
|
+
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
|
17
|
+
<!-- -PHCDev- Page Header -->
|
|
18
18
|
|
|
19
|
-
<!--
|
|
20
|
-
<div class="
|
|
21
|
-
<div class="col-lg-12">
|
|
19
|
+
<!-- -PHCDev- Panel -->
|
|
20
|
+
<div class="panel panel-inverse">
|
|
22
21
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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', affiliate_link: @affiliate_link %>
|
|
37
|
-
<!-- Edit Form -->
|
|
22
|
+
<!-- -PHCDev- Panel - Heading -->
|
|
23
|
+
<div class="panel-heading">
|
|
24
|
+
<h4 class="panel-title"><%= yield(:phc_title) %></h4>
|
|
25
|
+
</div>
|
|
26
|
+
<!-- -PHCDev- Panel - Heading -->
|
|
38
27
|
|
|
39
|
-
|
|
40
|
-
|
|
28
|
+
<!-- -PHCDev- Panel - Body -->
|
|
29
|
+
<div class="panel-body">
|
|
41
30
|
|
|
42
|
-
|
|
43
|
-
|
|
31
|
+
<!-- -PHCDev- Edit Form -->
|
|
32
|
+
<%= render 'form', affiliate_link: @affiliate_link %>
|
|
33
|
+
<!-- -PHCDev- Edit Form -->
|
|
44
34
|
|
|
45
35
|
</div>
|
|
36
|
+
<!-- -PHCDev- Panel - Body -->
|
|
37
|
+
|
|
46
38
|
</div>
|
|
47
|
-
<!--
|
|
39
|
+
<!-- -PHCDev- Panel -->
|
|
File without changes
|
|
@@ -6,37 +6,37 @@
|
|
|
6
6
|
<!-- PHCNotifi Render Validation -->
|
|
7
7
|
|
|
8
8
|
<!-- Form Input Fields -->
|
|
9
|
-
<div class="
|
|
10
|
-
<%= form.label :marketing_optimization_page_title, "Page Title" %>
|
|
9
|
+
<div class="mb-3">
|
|
10
|
+
<%= form.label :marketing_optimization_page_title, "Page Title", class: "form-label" %>
|
|
11
11
|
<%= form.text_field :marketing_optimization_page_title, class: "form-control" %>
|
|
12
12
|
</div>
|
|
13
13
|
|
|
14
|
-
<div class="
|
|
15
|
-
<%= form.label :marketing_optimization_page_description, "Page Description" %>
|
|
14
|
+
<div class="mb-3">
|
|
15
|
+
<%= form.label :marketing_optimization_page_description, "Page Description", class: "form-label" %>
|
|
16
16
|
<%= form.text_area :marketing_optimization_page_description, class: "form-control" %>
|
|
17
17
|
</div>
|
|
18
18
|
|
|
19
|
-
<div class="
|
|
20
|
-
<%= form.label :marketing_optimization_og_title, "Open Graph Title" %>
|
|
19
|
+
<div class="mb-3">
|
|
20
|
+
<%= form.label :marketing_optimization_og_title, "Open Graph Title", class: "form-label" %>
|
|
21
21
|
<%= form.text_field :marketing_optimization_og_title, class: "form-control" %>
|
|
22
22
|
</div>
|
|
23
23
|
|
|
24
|
-
<div class="
|
|
25
|
-
<%= form.label :marketing_optimization_og_description, "Open Graph Description" %>
|
|
24
|
+
<div class="mb-3">
|
|
25
|
+
<%= form.label :marketing_optimization_og_description, "Open Graph Description", class: "form-label" %>
|
|
26
26
|
<%= form.text_area :marketing_optimization_og_description, class: "form-control" %>
|
|
27
27
|
</div>
|
|
28
28
|
|
|
29
|
-
<div class="
|
|
29
|
+
<div class="mb-3">
|
|
30
30
|
<%= form.label :marketing_optimization_og_type, "Open Graph Type" %>
|
|
31
31
|
<%= form.select( :marketing_optimization_og_type, [["Website","website"]], {}, {class: "form-control"}) %>
|
|
32
32
|
</div>
|
|
33
33
|
|
|
34
|
-
<div class="
|
|
34
|
+
<div class="mb-3">
|
|
35
35
|
<%= form.label :marketing_optimization_og_url, "Open Graph URL" %>
|
|
36
36
|
<%= form.text_field :marketing_optimization_og_url, class: "form-control" %>
|
|
37
37
|
</div>
|
|
38
38
|
|
|
39
|
-
<div class="
|
|
39
|
+
<div class="mb-3">
|
|
40
40
|
<%= form.label :marketing_optimization_og_image, "Featured Image" %>
|
|
41
41
|
<%= form.file_field :marketing_optimization_og_image, class: "form-control" %>
|
|
42
42
|
<% if form.object.marketing_optimization_og_image.attached? %>
|
|
@@ -46,27 +46,27 @@
|
|
|
46
46
|
<% end %>
|
|
47
47
|
</div>
|
|
48
48
|
|
|
49
|
-
<div class="
|
|
49
|
+
<div class="mb-3">
|
|
50
50
|
<%= form.label :marketing_optimization_twitter_title, "Twitter Card Title" %>
|
|
51
51
|
<%= form.text_field :marketing_optimization_twitter_title, class: "form-control" %>
|
|
52
52
|
</div>
|
|
53
53
|
|
|
54
|
-
<div class="
|
|
54
|
+
<div class="mb-3">
|
|
55
55
|
<%= form.label :marketing_optimization_twitter_description, "Twitter Card Description" %>
|
|
56
56
|
<%= form.text_area :marketing_optimization_twitter_description, class: "form-control" %>
|
|
57
57
|
</div>
|
|
58
58
|
|
|
59
|
-
<div class="
|
|
59
|
+
<div class="mb-3">
|
|
60
60
|
<%= form.label :marketing_optimization_twitter_type, "Twitter Card Type" %>
|
|
61
61
|
<%= form.select( :marketing_optimization_twitter_type, [["Summary","summary"],["Summary Large Image","summary_large_image"]], {}, {class: "form-control"}) %>
|
|
62
62
|
</div>
|
|
63
63
|
|
|
64
|
-
<div class="
|
|
64
|
+
<div class="mb-3">
|
|
65
65
|
<%= form.label :marketing_optimization_twitter_url, "Twitter Card URL" %>
|
|
66
66
|
<%= form.text_field :marketing_optimization_twitter_url, class: "form-control" %>
|
|
67
67
|
</div>
|
|
68
68
|
|
|
69
|
-
<div class="
|
|
69
|
+
<div class="mb-3">
|
|
70
70
|
<%= form.label :marketing_optimization_twitter_image, "Featured Image" %>
|
|
71
71
|
<%= form.file_field :marketing_optimization_twitter_image, class: "form-control" %>
|
|
72
72
|
<% if form.object.marketing_optimization_twitter_image.attached? %>
|
|
@@ -75,8 +75,6 @@
|
|
|
75
75
|
<%= form.check_box :remove_marketing_optimization_twitter_image %>
|
|
76
76
|
<% end %>
|
|
77
77
|
</div>
|
|
78
|
-
|
|
79
|
-
|
|
80
78
|
<!-- Form Input Fields -->
|
|
81
79
|
|
|
82
80
|
<!-- Form Submition Button -->
|
|
@@ -1,47 +1,39 @@
|
|
|
1
|
-
<!-- PHCTitleSEO Title Variables -->
|
|
1
|
+
<!-- -PHCDev- PHCTitleSEO Title Variables -->
|
|
2
2
|
<% phc_title "Marketing Manager" %>
|
|
3
3
|
<% phc_title_tagline "Update SEO Data" %>
|
|
4
4
|
<% phc_breadcrumb_one yield(:phc_title_tagline) %>
|
|
5
5
|
<% phc_breadcrumb_two link_to "SEO Data Index", phcdevworks_core_modules.marketing_optimizations_path %>
|
|
6
|
-
<!-- PHCTitleSEO Title Variables -->
|
|
6
|
+
<!-- -PHCDev- PHCTitleSEO Title Variables -->
|
|
7
7
|
|
|
8
|
-
<!-- Page Bradcrumbs -->
|
|
9
|
-
<ol class="breadcrumb
|
|
8
|
+
<!-- -PHCDev- Page Bradcrumbs -->
|
|
9
|
+
<ol class="breadcrumb float-xl-end">
|
|
10
10
|
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
|
11
11
|
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
|
|
12
12
|
</ol>
|
|
13
|
-
<!-- Page Bradcrumbs -->
|
|
13
|
+
<!-- -PHCDev- Page Bradcrumbs -->
|
|
14
14
|
|
|
15
|
-
<!-- Page Header -->
|
|
16
|
-
<
|
|
17
|
-
<!-- Page Header -->
|
|
15
|
+
<!-- -PHCDev- Page Header -->
|
|
16
|
+
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
|
17
|
+
<!-- -PHCDev- Page Header -->
|
|
18
18
|
|
|
19
|
-
<!--
|
|
20
|
-
<div class="
|
|
21
|
-
<div class="col-lg-12">
|
|
19
|
+
<!-- -PHCDev- Panel -->
|
|
20
|
+
<div class="panel panel-inverse">
|
|
22
21
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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', marketing_optimization: @marketing_optimization %>
|
|
37
|
-
<!-- Edit Form -->
|
|
22
|
+
<!-- -PHCDev- Panel - Heading -->
|
|
23
|
+
<div class="panel-heading">
|
|
24
|
+
<h4 class="panel-title"><%= yield(:phc_title) %></h4>
|
|
25
|
+
</div>
|
|
26
|
+
<!-- -PHCDev- Panel - Heading -->
|
|
38
27
|
|
|
39
|
-
|
|
40
|
-
|
|
28
|
+
<!-- -PHCDev- Panel - Body -->
|
|
29
|
+
<div class="panel-body">
|
|
41
30
|
|
|
42
|
-
|
|
43
|
-
|
|
31
|
+
<!-- -PHCDev- Edit Form -->
|
|
32
|
+
<%= render 'form', marketing_optimization: @marketing_optimization %>
|
|
33
|
+
<!-- -PHCDev- Edit Form -->
|
|
44
34
|
|
|
45
35
|
</div>
|
|
36
|
+
<!-- -PHCDev- Panel - Body -->
|
|
37
|
+
|
|
46
38
|
</div>
|
|
47
|
-
<!--
|
|
39
|
+
<!-- -PHCDev- Panel -->
|