                                 [:tr [:td word]
                                      [:td (:datetime search-result)]
                                      [:td (:user search-result)]
+                                     (if zw-mode
+                                         [:td (:description search-result)])
                                      [:td (if deleted "deleted" "active")]
                                      [:td (if deleted [:a {:href (str "?undelete=" word) :class "btn btn-success"} "undelete"]
-                                                      [:a {:href (str "?delete=" word)   :class "btn btn-danger"}  "delete"])]
+                                                      [:a {:href (str "?delete="   word) :class "btn btn-danger"}  "delete"])]
                                 ]))
                     ])
                 (render-html-footer)

    "Render error page with a 'back' button."
    [word user-name message url-prefix]
    (page/xhtml
        (render-html-header "" url-prefix)
        [:body
            [:div {:class "container"}
                (render-navigation-bar-section word user-name url-prefix)
                [:div {:class "col-md-10"}
                    [:h2 "Sorry, error occured in zg"]
                    [:p message]

    ))

(defn render-front-page
    [word user-name search-results message url-prefix zw-mode]
    (page/xhtml
        (render-html-header word url-prefix zw-mode)
        [:body
            [:div {:class "container"}
                (render-navigation-bar-section word user-name url-prefix zw-mode)

                (form/form-to [:post (str url-prefix "add-words")]
                        [:div {:class "label label-primary"} "New words"]
