- content_for(:title, t("sessions.title")) .form-wrapper %h1{ class: "top-border login-form-header" } = t(".form-header") %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"} %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"}