app/views/sessions/new.html.haml
cf968ae0
 - content_for(:title, t("sessions.title"))
 .form-wrapper
   %h1{ class: "top-border login-form-header" }
     = t(".form-header")
7aef87db
 
cf968ae0
   %form{ action: sessions_path, method: "post"}
     %label{for: "jid"}
       %strong Jabber ID
     %input{type: "text", name: "jid", class: "text", id: "jid", placeholder: "nick@example.com"}
531ecd5f
 
cf968ae0
     %label{for: "pass"}
       %strong Password
     %input{type: "password", name: "password", class: "text", id: "pass"}
 
     - if flash[:error]
       %div.alert.alert-error
         = flash[:error]
 
     - if flash[:notice]
       %div.alert.alert-notice
         = flash[:notice]
 
     %input{type: "submit", value: t(".form-send"), class: "button"}