Is this page useful?
<%= link_to contact_govuk_path, {
class: 'gem-c-feedback__prompt-link',
data: {
'track-category' => 'yesNoFeedbackForm',
'track-action' => 'ffMaybeClick'
},
'aria-expanded': false,
role: 'button',
style: 'display: none;',
hidden: 'hidden',
'aria-hidden': 'true',
} do %>
Maybe
<% end %>
-
<%= link_to contact_govuk_path, {
class: 'gem-c-feedback__prompt-link js-page-is-useful',
data: {
'track-category' => 'yesNoFeedbackForm',
'track-action' => 'ffYesClick'
},
'aria-expanded': false,
role: 'button',
} do %>
Yes this page is useful
<% end %>
-
<%= link_to contact_govuk_path, {
class: 'gem-c-feedback__prompt-link js-toggle-form js-page-is-not-useful',
data: {
'track-category' => 'yesNoFeedbackForm',
'track-action' => 'ffNoClick'
},
'aria-controls': 'page-is-not-useful',
'aria-expanded': false,
role: 'button',
} do %>
No this page is not useful
<% end %>
-
<%= link_to contact_govuk_path, {
class: 'gem-c-feedback__prompt-link js-toggle-form js-something-is-wrong',
data: {
'track-category' => 'Onsite Feedback',
'track-action' => 'GOV.UK Open Form'
},
'aria-controls': 'something-is-wrong',
'aria-expanded': false,
role: 'button',
} do %>
Is there anything wrong with this page?
<% end %>