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