Alpha

This is an alpha release of our documentation site. View the roadmap.

Success message

Thank you for your feedback

<p class="cads-success-message" aria-live="polite">Thank you for your feedback</p>
<%= render(CitizensAdviceComponents::SuccessMessage.new(message: "Thank you for your feedback")) %>

Using with Rails

If you are using the citizens_advice_components gem, you can call the component from within a template using:

<%= render(CitizensAdviceComponents::SuccessMessage.new(message: "Thank you for your feedback")) %>

Component arguments

Argument Description
Argument message Description Required. Message string