app/views/sessions/new.html.haml
7aef87db
 - content_for(:title, 'Login')
531ecd5f
 %h1 Login
 - if flash[:error]
   %div.alert.alert-error
     = flash[:error]
7aef87db
 
531ecd5f
 - if flash[:notice]
   %div.alert.alert-notice
     = flash[:notice]
 
 %form{ action: sessions_path, method: "post"}
   %fieldset
     %ol
       %li
         %label{for: "jid"} Jabber ID:
         %input{type: "text", name: "jid", class: "text", id: "jid"}
       %li
         %label{for: "password"} Password:
         %input{type: "password", name: "password", class: "text", id: "password"}
     %input{type: "submit", value: "Send", class: "button"}