app/views/notice_dismissal/messages/_07.html.erb
<% if show_notice?(id: 7) %>
<div class="card-panel blue lighten-5 black-text">
<i class="material-icons grey-text left">help</i>
These associations are automatically created whenever you mention this page from another page.
Only you can see this message.
<%= link_to 'Dismiss this notice.', notice_dismissal_dismiss_path(notice_id: 7), class: 'blue-text' %>
</div>
<% end %>