- content_for(:title, 'Login')
%h1 Login
- if flash[:error]
  %div.alert.alert-error
    = flash[:error]

- 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"}