title: Slim templates on Ruby on Rails, what are best practices
body: <p>I have trouble understanding basic Slim syntax.</p>
  
  <p>First question, how to do you enter new line (line break)?</p>
  
  <p>Second request, could you please rewrite the following snippet, I suspect I didn't do it easy way?</p>
  
  <pre><code>- provide(:title, @course.title)                                                                                                          
  
  .row
    aside.span4
      section
        h1 = @course.title.capitalize
  
        =&gt; link_to t('ui.edit'), edit_course_path(@course)
        '|
        =&gt; link_to t('ui.back'), courses_path
  
        p
          b #{t('activerecord.attributes.subject.title')}:
          | #{@course.subject.title}
  
        p
          b #{t('activerecord.attributes.student_level.title')}:
          | #{@course.student_level.title}
  
        h4 #{t('activerecord.attributes.course.objectives')}
        = @course.objectives
  </code></pre>
  
  <p>This is its output:</p>
  
  <h1>Title a</h1>
  
  <p>tahrirlash (edit) | orqaga</p>
  
  <p><strong>Predmet nomi:</strong> english 5-7 year olds</p>
  
  <p><strong>O'quvchi darajasi:</strong> beginner</p>
  
  <h2>Kurs haqida ma'lumot</h2>
  
  <p>objectives b</p>