tweak card panel

This commit is contained in:
Andrew Brown 2021-04-25 17:21:08 -07:00
parent 71cccf983e
commit 6221ec2dea

View File

@ -1,13 +1,11 @@
<% if user_signed_in? && current_user.notice_dismissals.where(notice_id: 7).none? %>
<div class="col s12">
<div class="hoverable card-panel blue lighten-5">
<%= link_to prepay_path, class: 'black-text' do %>
<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.
<div class="card-panel blue lighten-5">
<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' %>
<% end %>
<%= link_to 'Dismiss this notice.', notice_dismissal_dismiss_path(notice_id: 7), class: 'blue-text' %>
</div>
</div>
<% end %>