         (when (:redirection-uri model) [:p "Now proceed to " [:a {:href (:redirection-uri model)} "continue"]])]])))
 
   SimpleMessageRenderer
-  (render-simple-message [this req model]
+  (render-simple-message [this req heading message]
     (boilerplate
      this req
      (html
       [:div.row {:style "padding-top: 50px"}
        [:div.col-md-2]
        [:div.col-md-10
-        [:h2 (:header model)]]]
+        [:h2 heading]]]
       [:div.row
        [:div.col-md-2]
        [:div.col-md-10
         [:style (styles)]
-        (:message model)]])))
+        message]])))
 
   RequestResetPasswordFormRenderer
   (render-request-reset-password-form [this req model]


        [:h2.form-signin-heading login-prompt]

        #_(when login-status
            [:div.alert.alert-warning.alert-dismissable
             [:button.close {:type "button" :data-dismiss "alert" :aria-hidden "true"} "&times;"]

;; Copyright © 2014 JUXT LTD.
(ns modular.bootstrap.cylon.user-forms
  (:require
   [com.stuartsierra.component :as component]
   [clojure.tools.logging :refer :all]
   [modular.bootstrap :refer (ContentBoilerplate wrap-content-in-boilerplate)]
   [modular.bidi :refer (path-for)]
   [cylon.authentication.login :refer (LoginFormRenderer)]
   [cylon.signup.protocols :refer (SignupFormRenderer SimpleMessageRenderer RequestResetPasswordFormRenderer WelcomeRenderer)]
   [cylon.totp :as totp]
   [hiccup.core :refer (html h)]
