                      :status "false"})
         status (cursor state [:status])
         reporter-id (:reporter-id @state)]
-    
+
     (fn []
-      
+
       (if reporter-id
         [:div
          (cond
            (= @status "false") (open-reportform-button true status)
            (= @status "true")  (reportform state status)
-           (= @status "sent")  (confirmedtext) 
+           (= @status "sent")  (confirmedtext)
          :else               "")]
         ""))))

                   }]
          (t :admin/other)]]]
       [:div.form-group
        [:label 
         (str (t :admin/Description) ":")]
        [:textarea {:class    "form-control"
                    :rows     "5"
                    :value    @description-atom
                    :onChange #(reset! description-atom (.-target.value %))}]]   
       [:div.form-group
        [:button {:class    "btn btn-primary"
                  :on-click #(do


(defn url-creator [item-type id]
  (cond
    (= item-type "badges") (path-for (str "/gallery/badgeview/" id))
    (= item-type "page") (path-for (str "/page/view/" id))
    (= item-type "user") (path-for (str "/user/profile/" id))
    (= item-type "badge") (path-for (str "/badge/info/" id))
    :else (current-path)))


