- content_for :title, 'Basic Ruby'

%h1.basic-ruby Basic Ruby

.learn-programming
  learn programming with lots of examples and lots of practice

%br(clear='all')

%h2.choice
  %a(href='#' onclick="document.getElementById('about-text').style.display = (document.getElementById('about-text').style.display === 'block') ? 'none' : 'block'; return false;")
    Learn about the project

#about-text(style='display:none')
  = render 'about_text'

%h2.choice
  %a(href='/1') Lesson 1: Catching Typos

= render 'mailchimp'

- content_for :title, 'Basic Ruby'

%h1.basic-ruby Basic Ruby

.learn-programming
  learn programming with lots of examples and lots of practice

%br(clear='all')

%h2.choice
  %a(href='#' onclick="document.getElementById('about-text').style.display = (document.getElementById('about-text').style.display === 'block') ? 'none' : 'block'; return false;")
    Learn about the project

#about-text(style='display:none')
  = render 'about_text'

%h2.choice
  %a(href='/1') Unit 1 &mdash; Output

= render 'mailchimp'

Rename Unit on home page
Rename Unit on home page