Sha256: 4ae3b5f08324917f323b129e10cbc1c3d96fc47adac9125948025673e2485561

Contents?: true

Size: 515 Bytes

Versions: 4

Compression:

Stored size: 515 Bytes

Contents

.header
  .header__container
    = link_to 'Home', root_path, class: 'header__home-link'
    .header__authentication
      - if current_user
        span.header__authenticated-user
          = current_user.email
          '  |
        = button_to 'Sign Out', sign_in_path(current_user), method: :delete, class: 'header__sign-out-link'
      - else
        = link_to 'Sign In', new_sign_in_path, class: 'header__sign-in-link'
        '  |
        = link_to 'Sign Up', new_sign_up_path, class: 'header__sign-up-link'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aldous-1.1.3 examples/basic_todo/app/views/modules/_header.html.slim
aldous-1.1.2 examples/basic_todo/app/views/modules/_header.html.slim
aldous-1.0.1 examples/basic_todo/app/views/modules/_header.html.slim
aldous-1.0.0 examples/basic_todo/app/views/modules/_header.html.slim