Skip to content

Commit

Permalink
Configure adobe data attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
benlovell committed Feb 27, 2024
1 parent 351b5d0 commit 05d1c06
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/views/wpcc/your_contributions/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
<% set_meta_tags title: [t("wpcc.meta.title"), t("wpcc.contributions.title")],
reverse: true %>
<% content_for(:page_name, 'workplace-pension-contribution-calculator--your_contributions') %>
<% content_for(:page_title, 'Workplace pension contribution calculator') %>
<% content_for(:tool_name, 'Workplace Pension Contribution Calculator') %>
<% content_for(:tool_step, '2') %>
<% content_for(:step_name, 'Your contributions') %>
<%= render 'wpcc/shared/your_details', message_presenter: message_presenter %>

<section class="contributions">
Expand Down
6 changes: 6 additions & 0 deletions app/views/wpcc/your_details/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<% set_meta_tags title: t("wpcc.meta.title") %>
<% content_for(:page_name, 'workplace-pension-contribution-calculator') %>
<% content_for(:page_title, 'Your contributions - Workplace pension contribution calculator') %>
<% content_for(:tool_name, 'Workplace Pension Contribution Calculator') %>
<% content_for(:tool_step, '1') %>
<% content_for(:step_name, 'Your details') %>

<section class="section section--details details" data-dough-component="ConditionalMessaging">
<%= form_for(
@your_details_form,
Expand Down
6 changes: 6 additions & 0 deletions app/views/wpcc/your_results/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
<% set_meta_tags title: [t("wpcc.meta.title"), t("wpcc.results.title")],
reverse: true %>
<% content_for(:page_name, 'workplace-pension-contribution-calculator--your_results') %>
<% content_for(:page_title, 'Your Results - Workplace pension contribution calculator') %>
<% content_for(:tool_name, 'Workplace Pension Contribution Calculator') %>
<% content_for(:tool_step, '3') %>
<% content_for(:step_name, 'Results') %>
<%= render 'wpcc/shared/your_details' %>
<%= render 'wpcc/shared/your_contributions', message_presenter: message_presenter %>
<section class="section section--results">
Expand Down

0 comments on commit 05d1c06

Please sign in to comment.