I have this code:
<div class="alert alert-success">
  <a href="#" class="alert-link"><%= notice %></a>
</div>
I need to put an if statement around it to only show the entire div if notice isn't nil. I've tried a couple of ways but can't get the syntax right.
 
     
     
    