             [goog.crypt.base64 :as b64]
             [ajax.core :refer [GET]]
             [discuss.specs :as specs]
+            [discuss.translations :refer [translate] :rename {translate t}]
             [discuss.utils.views :as vlib]
             [discuss.parser :as parser]
             [discuss.utils.common :as lib]

  (let [{:keys [author content aggregate-id]} data]
    (when-not (empty? content)
      (html [:div.bs-callout.bs-callout-info
             [:span.badge.pull-right aggregate-id]
             [:p (vlib/safe-html content)]
             [:p (str "Author: " author)]]))))

(defui Result
  Object

(defn search-query-now
  "Create form to select issue and place the search."
  [_ _] (reify om/IRender (render [_] search-for-statement)))
