                             [:div {:class "navbar-header"}
                                 [:a {:href (str url-prefix "deleted-words-in-whitelist") :class "navbar-brand"} "Deleted words"]
                             ] ; ./navbar-header
-                        [:div {:style "width:80%"}
-                            (render-search-field word url-prefix)
-                        ]
+                            [:div {:style "width:80%"}
+                                (render-search-field word url-prefix mode)
+                            ]
                         ]
                         [:br]
                         [:br]

                                (form/submit-button {:class "btn btn-danger"} "Add new words")
                                [:br]
                            )
                    ]
                [:div {:class "container-fluid"}
                        [:div {:class "row"}

    ))

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