 
 (defn render-front-page
     "Render front page of this application."
-    [word user-name search-results message url-prefix title mode]
+    [word user-name search-results message url-prefix title emender-page mode]
     (page/xhtml
         (render-html-header word url-prefix title)
         [:body

                        [:br]
                        [:br]
                        (form/form-to [:post (str url-prefix "add-words-to-whitelist")]
                                [:div {:class "label label-primary"} "New words"]
                                "&nbsp;"
                                [:div {:class "label label-warning"} "(please use spaces or commas as separators)"]
                                [:br]
                                (form/text-area {:cols "80" :rows "8"} "new-words")
                                [:br]
                                (form/submit-button {:class "btn btn-danger"} "Add new words")
                                [:br]
                            )
                                [:br]
                    ]
                [:div {:class "container-fluid"}
                        [:div {:class "row"}
                            [:div {:class "navbar-header"}
                                [:a {:href (str url-prefix "all-words-in-blacklist") :class "navbar-brand"} "All words"]
                            ] ; ./navbar-header

                                     [:td (user-href (:user search-result) mode)]
                                     (if (= mode :blacklist)
                                         [:td (:description search-result)])
                                     [:td {:style (if deleted "color:red" "color:green")} (if deleted "deleted" "active")]
                                     [:td (if deleted [:a {:href (str "?undelete=" word) :class "btn btn-default"} "undelete"]
                                                      [:a {:href (str "?delete="   word) :class "btn btn-default"}  "delete"])]
                                ]))
                    ])
                (render-html-footer)
