Project

General

Profile

Revision bc89a3a6

IDbc89a3a6127195be27690f96a033b8dc3eb2b35a

Added by Jessi and Elijah over 5 years ago

login: ensure login form only appears if not logged in.

View differences:

app/views/session/_welcome.html.haml
2 2
  %h1
3 3
    = h :welcome_title.t(:site_title => current_site.title)
4 4
  = to_html first_with_any(:welcome_login_message.t, :welcome_message.t)
5

  
6
= render :partial => 'session/login_form'
5
- if !logged_in? 
6
  = render :partial => 'session/login_form'
7 7

  
8 8

  
9 9

  

Also available in: Unified diff